ThresholdsConfig interface

Config that is passed to the ThresholdsEditor

Signature

  1. export interface ThresholdsConfig

Import

  1. import { ThresholdsConfig } from '@grafana/data';

Properties

PropertyTypeDescription
modeThresholdsMode
stepsThreshold[]Must be sorted by ‘value’, first value is always -Infinity

mode property

Signature

  1. mode: ThresholdsMode;

steps property

Must be sorted by ‘value’, first value is always -Infinity

Signature

  1. steps: Threshold[];