Threshold options

interface ThresholdOptions {
    fillColor?: string;
    label?: string;
    value: number | Date;
    valueFormatter?: (value: any) => string;
}

Properties

fillColor?: string

hex threshold line color

label?: string

threshold label

value: number | Date

threshold value

valueFormatter?: (value: any) => string

a function to format the threshold values