Splunk Search

Change of colors changes report to flash

tpaulsen
Contributor

Hello,
we are running a Splunk 4.3 Installation on a Windows XP Desktop PC. We want to customize the
colors of a chart of a dashboard.

Here ist our example:

<?xml version='1.0' encoding='utf-8'?>
<dashboard>
<label>Overview</label>
<row>
<chart>
<searchName>Laufzeit GP_Kunde_anmelden</searchName>
<title>KPI Laufzeit GP Kunde anmelden 1,5s</title>
<option name="charting.axisTitleX.text">Uhrzeit</option>
<option name="charting.axisTitleY.text">Werte</option>
<option name="charting.legend.labels">[Ok,Zu_hoch]</option>
<option name="charting.seriesColors">[0x1597A1,0xE88000]</option>
<option name="charting.chart">column</option>
<option name="charting.chart.stackMode">stacked100</option>
<option name="count">10</option>
<option name="displayRowNumbers">true</option>
</chart>

If we use this seriecColors value inside a report of SPLUNK 4.3, the chart is switching back to Flash.
Does someone know, where we can tweak the parameter on the JS side, so that the chart is not switching to Flash?

Tags (2)
0 Karma
1 Solution

RicoSuave
Builder

Hello,
SeriesColors is not supported by jschart at this time. Straight from the documentation:

For example, if you edit the simple XML for a dashboard panel containing a line chart, and add the seriesColors chart customization property, which is unsupported by the JSChart module, Splunk renders the line chart with FlashChart. The line chart will look fine in your browser, but it won't show up when you try to view the dashboard in an iOS device such as an iPad.

http://docs.splunk.com/Documentation/Splunk/4.3/Developer/AdvancedCharting#Chart_customization_and_n...

View solution in original post

tpaulsen
Contributor

Thank you Joetron. We will make a request for enhancement then towards Splunk.

0 Karma

RicoSuave
Builder

Hello,
SeriesColors is not supported by jschart at this time. Straight from the documentation:

For example, if you edit the simple XML for a dashboard panel containing a line chart, and add the seriesColors chart customization property, which is unsupported by the JSChart module, Splunk renders the line chart with FlashChart. The line chart will look fine in your browser, but it won't show up when you try to view the dashboard in an iOS device such as an iPad.

http://docs.splunk.com/Documentation/Splunk/4.3/Developer/AdvancedCharting#Chart_customization_and_n...

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