Dashboards & Visualizations

chart minimum and maximum values for yaxis

john_howley
Path Finder

I have some charts that work as you would expect for maximum and mimumvalues for yaxis, but I have at least one that doesn't.
I have listed below a query that this option works for and the one that it doesn't - can someone point me in the right direction to resolve this please?

The options I'm refering to are:
option name="charting.axisY.minimumNumber">0
option name="charting.axisy.maximumNumber">100

NB I've had to remove the XML tags to enable display..

The chart for this query hapilly accepts the option and starts y axis and 0 and ends it at 100:
index="nmon" sourcetype="nmon_data" type="CPU_ALL" OR type="LPAR" hostname="hostname" | eval lpar_vpconso=round(((VP_User_PCT+VP_Sys_PCT+VP_Wait_PCT+VP_Idle_PCT)*virtualCPUs/100),2) | eval cpu_pctconso=(Sys_PCT+User_PCT+Wait_PCT) | stats values(lpar_vpconso) As lpar_vpconso, values(cpu_pctconso) As cpu_pctconso by _time,hostname | eval conso=if(isnotnull(lpar_vpconso),lpar_vpconso,cpu_pctconso) | timechart inline_customspan(type=CPU_ALL OR type=LPAR,hostname="hostname") max(conso) As "CPU Usage"

The chart for this query doesn't accept the option. If I specify both options - it starts at 0 goes through 100 and finishes at 200. If i remove the options OR just put in the maximum value it produces a y axis starting at 0 and finishing at 125
index="nmon" sourcetype="nmon_data" type="JFSFILE" hostname="hostname"| chart avg(value) As pct_fs_used by device

0 Karma

john_howley
Path Finder

..as an update to this question I have made the chart the same size as many others on the dashboard wit the chart height option and the top value is still not rights, but it has changed to 120. Also just incase anyone asks the obvious question, no none of my data values are over 100 the highest is 99.2

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...