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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...