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!

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 ...