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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...