API Reference@grafana/dataThreshold

Threshold interface

Signature

export interface Threshold 

Import

import { Threshold } from '@grafana/data';

Properties

PropertyTypeDescription
colorstring
statestringWarning, Error, LowLow, Low, OK, High, HighHigh etc
valuenumber

color property

Signature

color: string;

state property

Warning, Error, LowLow, Low, OK, High, HighHigh etc

Signature

state?: string;

value property

Signature

value: number;