Splunk Search

Is there a way to set the trellis chart color?

damucka
Builder

Hello,

I have a dashboard with the trellis displaying the numbers in the column chart (KPIs by host).

The question is quite easy I guess, but I have found no way to configure it from the GUI:

  • how would I set the color of all the trellis column chart to e.g. blue?

The problem is that it happens quite often that the trellis charts get different colors within each dashboard refresh. Not sure how this could be possible, but I would like to set it to be always the same, e.g. blue.

How would I do this?

Kind Regards,
Kamil

0 Karma
1 Solution

niketn
Legend

@damucka, only if you have more than one series in any chart you should see more than one color. I am not sure why for such cases you would want to apply single Series Color. However, you can definitely use the following setting for Column Chart

<option name="charting.seriesColors">["0x0877A6"]</option>

Above forces Blue color for all series.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@damucka, only if you have more than one series in any chart you should see more than one color. I am not sure why for such cases you would want to apply single Series Color. However, you can definitely use the following setting for Column Chart

<option name="charting.seriesColors">["0x0877A6"]</option>

Above forces Blue color for all series.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
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 ...