SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    The in-cell bar a IConditionalFormat.DataBar resolves to for one cell.

    Render-ready: the value has already been placed on the bar's track, so a renderer never sees a IConditionalFormat.Stop and never re-derives the range's domain.

    interface DataBarDecoration {
        axis: number;
        axisColor?: string;
        borderColor?: string;
        color: string;
        direction: "leftToRight" | "rightToLeft";
        gradient: boolean;
        negativeBorderColor?: string;
        negativeColor?: string;
        showValue: boolean;
        type: "dataBar";
        value: number;
    }
    Index
    axis: number

    Where zero sits on the track, 0 to 1. 0 when the range never goes negative — the common case, and the bar then simply grows from the left.

    axisColor?: string

    The axis rule's color, resolved. Only meaningful when axis is not 0.

    borderColor?: string

    The bar's border, resolved. Absent means no border.

    color: string

    The bar's fill, resolved to a CSS color.

    direction: "leftToRight" | "rightToLeft"

    The direction the bar grows in, resolved against the cell's text direction.

    gradient: boolean

    Fade the fill from color rather than painting it solid.

    negativeBorderColor?: string

    The border for a negative bar, resolved. Absent means it reuses borderColor.

    negativeColor?: string

    The fill for a negative bar, resolved. Absent means negative bars reuse color.

    showValue: boolean

    Draw the cell's value beside the bar. When false the bar is the cell's only content.

    type: "dataBar"
    value: number

    Where the value sits on the track, 0 (lower stop) to 1 (upper stop). Clamped.