modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Interface DataBarData

    A <dataBar> conditional format.

    interface DataBarData {
        cfvos: CfvoData[];
        color: string;
        colorSpec?: ColorData | null;
    }
    Index
    cfvos: CfvoData[]
    color: string

    The rgb of the bar colour, or '' when it has none.

    colorSpec?: ColorData | null

    The full bar colour when it has a theme, indexed, tint or auto attribute; same write rule as ColorScaleData.colorSpecs. A bar with neither is written with Excel's default FF638EC6.