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!

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...