Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
FieldColorMode interface
Signature
export interface FieldColorMode extends RegistryItem
Import
import { FieldColorMode } from '@grafana/data';
Properties
Property | Type | Description |
---|---|---|
colors | string[] | |
getCalculator | (field: Field, theme: GrafanaTheme) => FieldValueColorCalculator | |
isByValue | boolean | |
isContinuous | boolean |
colors property
Signature
colors?: string[];
getCalculator property
Signature
getCalculator: (field: Field, theme: GrafanaTheme) => FieldValueColorCalculator;
isByValue property
Signature
isByValue?: boolean;
isContinuous property
Signature
isContinuous?: boolean;