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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...