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!

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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...