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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...