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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...