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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...