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!

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