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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...