Splunk Search

Change orientation of X axis labels in simple XML chart

harshal_chakran
Builder

Hi,

I have a simple XML dashboard which displays a line chart. Because of large data set, the X axis labels of chart is shrinked as 9..0, 1..0...and so on.

I am able to rotate the labels by 90 degree in Advance XML using following line of code:

<param name="charting.axisLabelsX.majorLabelStyle.rotation">90</param>

And I observed that this line works only with FlashChart module.

Is there any way to rotate the X axis label in Simple XML?? I put the same line in simple xml dashboard by replacing "param" tag with "option", but didn't get the breakthrough.

Following is the code for my dashboard...

<dashboard>
<label>Break line XML</label>
<description/>
<row>
<chart>
<searchString> my search string</searchString>
<earliestTime>0</earliestTime>
<latestTime>now</latestTime>
<option name="charting.axisTitleX.visibility">visible</option>
<option name="charting.axisTitleY.visibility">visible</option>
<option name="charting.axisX.scale">linear</option>
<option name="charting.axisY.scale">linear</option>
<option name="charting.chart">line</option>
<option name="charting.chart.nullValueMode">gaps</option>
<option name="charting.chart.sliceCollapsingThreshold">0.01</option>
<option name="charting.chart.stackMode">default</option>
<option name="charting.chart.style">shiny</option>
<option name="charting.drilldown">all</option>
<option name="charting.layout.splitSeries">0</option>
<option name="charting.legend.labelStyle.overflowMode">ellipsisMiddle</option>
<option name="charting.legend.placement">right</option>
</chart>
</row>
</dashboard>

Please Help...!!!

0 Karma
1 Solution

d12harshal
Path Finder

This feature added to simple XML dashboards in Splunk 6.1 and later according to below link. http://docs.splunk.com/Documentation/Splunk/6.1/Viz/ChartConfigurationReference

View solution in original post

0 Karma

d12harshal
Path Finder

This feature added to simple XML dashboards in Splunk 6.1 and later according to below link. http://docs.splunk.com/Documentation/Splunk/6.1/Viz/ChartConfigurationReference

0 Karma

martin_mueller
SplunkTrust
SplunkTrust
0 Karma
Get Updates on the Splunk Community!

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!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...