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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...