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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...