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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...