MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface GaugePoint

    A gauge or bullet chart: one measure against a range.

    Unlike every other trace's data this is a single object rather than an array, because the chart draws exactly one measure -- the same reason HeatmapData is an object. An array of one would describe a shape the chart does not have.

    The value alone is not the reading. "73" means nothing without the range it sits in, the target it was aiming at, and the band it lands in, and none of those are written anywhere a screen reader can reach on a drawn gauge.

    interface GaugePoint {
        value: number;
        min: number;
        max: number;
        label?: string;
        target?: number;
        bands?: GaugeBand[];
    }
    Index

    Properties

    value: number

    The measure.

    min: number

    Lower end of the dial.

    max: number

    Upper end of the dial.

    label?: string

    What the measure is called, when the chart names it.

    target?: number

    The target marker a bullet chart draws, when it has one.

    bands?: GaugeBand[]

    Qualitative bands, in ascending order.