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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...