Dashboards & Visualizations

Setting Column Color by Specific Fields (Classic Dashboards)

strehb18
Path Finder

Hello, 

Is there a specific way to set the color to specific colors based on the specific field? I have a stacked column chart with four possible fields used (nonconformance, part_not_installed, incomplete_task, shortage in this case) and I use a token system to only show specific fields in my chart based on those selections. 

It seems that the color order is set by default. So when I remove the first option the color changes to the new top field name. Is there an easy way to lock those to the consistently be the same colors for each potential option. So locking field color with field value. 

 

example images of the change. 

strehb18_0-1745436110583.png

vs when the fields change 

strehb18_1-1745436178388.png

 

Labels (4)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check out 'charting.fieldColors' in the Dashboards and Visualization manual.

---
If this reply helps you, Karma would be appreciated.

strehb18
Path Finder

Thank you, I must have missed this when looking through the documentation. 

To piggy back, is there a more updated hex code list of the default options? 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

There are no defaults for charting.fieldColors.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...