Splunk Search

Chart scale manipulation for axis

Wiggy
Splunk Employee
Splunk Employee

Is there a way to change the scale on a chart created from a search so that on a numbered axis, you can make the numbers go up by 0.50 or another decimal (0.10 or 0.25) instead of whole numbers?

Thanks

I have tried the following but the numbers still go from 0 to 5 at a scale of 1 on the Y axis:

<option name="charting.axisY.scale">0.50</option>
<option name="charting.axisY.minimumNumber">0.50</option>
<option name="charting.axisY.maximumNumber">3.50</option></code></pre>
1 Solution

Wiggy
Splunk Employee
Splunk Employee

I believe I found the answer:

<param name="charting.chart">column</param>
<!-- Define Min and Max Range of Y axis -->
   <param name="charting.axisY">numeric</param>
   <param name="charting.axisY.minimumNumber">96.00</param>
   <param name="charting.axisY.maximumNumber">100.50</param>
   <param name="charting.axisY.includeZero">true</param>

<!-- Define Unit -->
   <param name="charting.axisLabelsY.integerUnits">false</param>
   <param name="charting.axisLabelsY.majorUnit">0.5</param>
   <param name="charting.axisTitleX.visibility">collapsed</param>
   <param name="charting.chart.nullValueMode">zero</param>

View solution in original post

Wiggy
Splunk Employee
Splunk Employee

I believe I found the answer:

<param name="charting.chart">column</param>
<!-- Define Min and Max Range of Y axis -->
   <param name="charting.axisY">numeric</param>
   <param name="charting.axisY.minimumNumber">96.00</param>
   <param name="charting.axisY.maximumNumber">100.50</param>
   <param name="charting.axisY.includeZero">true</param>

<!-- Define Unit -->
   <param name="charting.axisLabelsY.integerUnits">false</param>
   <param name="charting.axisLabelsY.majorUnit">0.5</param>
   <param name="charting.axisTitleX.visibility">collapsed</param>
   <param name="charting.chart.nullValueMode">zero</param>
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...