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!

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