Splunk Search

Why is line chart color is not getting change?

mottig
Path Finder

Hi

Im trying to change the color of a line chart with:

<option name="charting.seriesColors">[000000FF]</option> 

but the color remains with the default red color

Labels (1)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

Use

<option name="charting.fieldColors">{"YourSeries":0x0000FF, "OtherSeries": 0xFF0000}</option>

See reference

https://docs.splunk.com/Documentation/Splunk/9.0.1/Viz/ChartConfigurationReference

 

View solution in original post

mottig
Path Finder

Thank you it worked

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Use

<option name="charting.fieldColors">{"YourSeries":0x0000FF, "OtherSeries": 0xFF0000}</option>

See reference

https://docs.splunk.com/Documentation/Splunk/9.0.1/Viz/ChartConfigurationReference

 

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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