Splunk Search

Why are the values on y-axis of my bar chart different than what I have set?

Chinmai
Explorer

I have a bar chart, I need values on the y - axis like 0, 1000000, 2000000, 3000000, .... ,7000000.
I did this by using min max and interval values. but when I add the chart to the dashboard, there it is showing different y axis values other than the above mentioned values even though the min max and interval values were same as before.

Can anyone help me on this?

thanks in advance.

0 Karma

cmerriman
Super Champion

try using charting.axisLabelsY.majorUnit as an option in the simpleXML and set it to 1000000
https://docs.splunk.com/Documentation/Splunk/6.5.2/Viz/ChartConfigurationReference#Area.2C_Bubble.2C...

0 Karma

Chinmai
Explorer

I did that, but no change in result:(. What is actually happening is, on the y-axis, max only 6 values are coming. if I give min 0 and max as 6000000, it is giving me correct data with interval 1000000 as needed but when i increase the max value to 7000000 or 8000000 , interval is also getting increased and giving me result which is only 6 values in the y -axis instead of 7 or 8 values in the y-axis.
Any idea why is this occurring?

0 Karma

cmerriman
Super Champion

i'm not sure. can you share a snippet of your xml when you it is showing an incorrect axis?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...