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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...