FieldColorConfigSettings interface
Signature
export interface FieldColorConfigSettings
Import
import { FieldColorConfigSettings } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
bySeriesSupport | boolean |
Set to true if the visualization supports both by value and by series This will enable the Color by series UI option that sets the color.seriesBy option. |
byValueSupport | boolean |
When switching to a visualization that does not support by value coloring then Grafana will switch to a by series palette based color mode |
preferThresholdsMode | boolean |
When switching to a visualization that has this set to true then Grafana will change color mode to from thresholds if it was set to a by series palette |
bySeriesSupport property
Set to true if the visualization supports both by value and by series This will enable the Color by series UI option that sets the color.seriesBy
option.
Signature
bySeriesSupport?: boolean;
byValueSupport property
When switching to a visualization that does not support by value coloring then Grafana will switch to a by series palette based color mode
Signature
byValueSupport?: boolean;
preferThresholdsMode property
When switching to a visualization that has this set to true then Grafana will change color mode to from thresholds if it was set to a by series palette
Signature
preferThresholdsMode?: boolean;
Related Grafana resources
Opening keynote: What's new in Grafana 9?
Raj Dutt, Myrle Krantz, and Torkel Ödegaard unveil what's new in Grafana 9. Watch the opening keynote presentation from GrafanaCONline 2022. On-demand.
Unify your data with Grafana plugins: Splunk, MongoDB, Datadog, and more
Show how Grafana can be used to take data from multiple different sources and unify it, without disrupting the investments that are working today.
Getting started with Grafana Enterprise and observability
Join the Grafana Labs team for a 30-minute demo of how to get started with the Grafana Stack, so you can go from zero to observability in just a few minutes.