API Reference@grafana/data › FieldColorMode

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;