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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...