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!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...