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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...