MAIDR JavaScript API
    Preparing search index...

    Where and how to measure one bar; CSS pixels in the plotting area.

    interface BarToMeasure {
        center: number;
        from: number;
        to: number;
        column: number;
        outline: number;
        horizontal: boolean;
    }
    Index

    Properties

    center: number

    Position of the bar's centre across its width.

    from: number

    Positions of the bar's two ends along its length.

    to: number
    column: number

    The bar's column: the most it can be wide.

    outline: number

    The series' stroke width, drawn around the fill.

    horizontal: boolean

    Whether the bars lie along the x axis (ori: 1).