Dashboards & Visualizations

Change default chart color template

niyaz006
Path Finder

Hi,

I would like to change the default chart colors template for all my charts in my app. I know we can chart for each chart using "charting.seriesColors". However, I am looking for any settings or conf file changes so that all my charts in my dashboard and all new charts will follow the new template colors.

Tags (3)
0 Karma

jawaharas
Motivator

You can do it via hidden field.

  1. Add below code in form's fieldset section. <input type="text" token="charting_fieldColors" depends="$hiddenToken$"> <default>[0x5f7396, 0x844539]</default> </input>
  2. Add below code in each of your chart panel. <option name="charting.seriesColors">$charting_fieldColors$</option>

Bingo!

0 Karma

niyaz006
Path Finder

Thanks for your comment jawaharas. I am looking for a way to not use 'charting.seriesColors' in every chart. If possible not add in every dashboard as well. We have a team of people working on multiple dashboards. Its tough to educate everyone and make them follow it in every dashboard, especially with new people and old people leaving. I am looking for a way to have them in a central place. It could be some splunk settings, conf files, css, etc.

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...