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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...