Threshold options

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

Properties

fillColor: string

hex threshold line color

label: string

threshold label

value: number | Date

threshold value

valueFormatter?: ((value) => string)

a function to format the threshold values

Type declaration

    • (value): string
    • Parameters

      • value: any

      Returns string