Dashboards & Visualizations

Simple XML: dashedStroke (dashed line chart series)

bhay
Engager

After reading another member's tip on how to modify a brush to apply a dashed-line rather than solid I attempted to apply the following to my own chart:

<option name="charting.myBrush">dashedStroke</option>
<option name="charting.myBrush.dashSize">10</option>
<option name="charting.myBrush.dashSpacing">10</option>
<option name="charting.myBrush.color">0xFF0000</option>
<option name="charting.myBrush.thickness">5</option>
<option name="charting.myBrushPalette">list</option>
<option name="charting.myBrushPalette.brushes">[@myBrush]</option>
<option name="charting.chart.lineBrushPalette">@myBrushPalette</option>

The code referenced utilized "param" rather than "option". Is this an acceptable way to transfer this from advanced xml to simple xml? If so, what is missing to make my series include dashed lines?

Thank you.

Tags (3)
1 Solution

nfilippi_splunk
Splunk Employee
Splunk Employee

For this specific case, these params refer to charting options in FlashCharts, and given that Simple XML does not support FlashCharts in Splunk 6, these will effectively be ignored by the dashboard rendering engine.

As far as customization of line charts within Simple XML goes, you can use show markers on the line charts.

<option name="charting.chart.showMarkers">true</option>

http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference

View solution in original post

0 Karma

nfilippi_splunk
Splunk Employee
Splunk Employee

For this specific case, these params refer to charting options in FlashCharts, and given that Simple XML does not support FlashCharts in Splunk 6, these will effectively be ignored by the dashboard rendering engine.

As far as customization of line charts within Simple XML goes, you can use show markers on the line charts.

<option name="charting.chart.showMarkers">true</option>

http://docs.splunk.com/Documentation/Splunk/latest/Viz/ChartConfigurationReference

0 Karma

bhay
Engager

Thank you for this response. I did not realize what the default charting option was out of the box.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...