API Reference@grafana/data › getActiveThreshold

getActiveThreshold() function

getActiveThreshold() function

Signature

export declare function getActiveThreshold(value: number, thresholds: Threshold[]): Threshold;

Import

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

Parameters

Parameter Type Description
value number
thresholds Threshold[]

Returns:

Threshold