Dashboards & Visualizations

Setting charting.axisY.majorUnit to .25

JensT
Communicator

Hi,

I have values beween 0 and 2. All number are floats. 0.234, 1.635 etc.

It like to set the majorUnit to .25. But it seems only integer >= 1 are allowed?

Cheers,

Jens

Tags (2)

JYTTEJ
Communicator

By help of SPLUNK support I got this to work i simple XML:
(Replace the ( ) with < >)

          (option name="charting.axisY")numeric(/option)

          (option name="charting.axisY.minimumNumber")96.00(/option)

          (option name="charting.axisY.maximumNumber")100.50(/option)

          (option name="charting.axisY.includeZero")true(/option)

          (option name="charting.axisLabelsY.integerUnits")false(/option)

          (option name="charting.axisLabelsY.majorUnit")0.5(/option)

This works in*advanced XML:*

(Replace the ( ) with < >)

These will go under the (module name="HiddenChartFormatter") line in the advanced xml view.

(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)
0 Karma

JYTTEJ
Communicator

I would like to do the same - and asked SPLUNK support. This is unfortunately not possible - ref. answer from SPLUNK support:

Unfortunately splunk does not have a module that will allow you to change the chart settings to decimals. I asked another support engineer well experienced with charting and functionality and he stated that this ability does not exist as of right now. It may be something that will be available in a future release.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...