@jsfkit/types
    Preparing search index...

    Type Alias CFDataBar

    Data bar settings.

    type CFDataBar = {
        axisColor?: Color;
        axisPosition?: "automatic" | "middle" | "none";
        borderColor?: Color;
        direction?: "context" | "leftToRight" | "rightToLeft";
        fillColor: Color;
        gradient?: boolean;
        max: CFDataBarThreshold;
        maxLength?: Percentage;
        min: CFDataBarThreshold;
        minLength?: Percentage;
        negativeBorderColor?: Color;
        negativeFillColor?: Color;
        showValue?: boolean;
    }
    Index
    axisColor?: Color

    Colour of the axis drawn between positive and negative bars.

    axisPosition?: "automatic" | "middle" | "none"

    Where the axis sits when the range holds both positive and negative values.

    "automatic"
    
    borderColor?: Color

    Bar border colour. When absent, bars have no border.

    direction?: "context" | "leftToRight" | "rightToLeft"

    Direction the bar grows in. context follows the sheet's reading direction.

    "context"
    
    fillColor: Color

    Bar fill colour.

    gradient?: boolean

    Whether the bar is filled with a gradient (true) or a solid colour (false).

    true
    

    Threshold at which the bar is longest.

    maxLength?: Percentage

    Length of the longest bar as a percentage of the cell width.

    90
    

    Threshold at which the bar is shortest.

    minLength?: Percentage

    Length of the shortest bar as a percentage of the cell width.

    10
    
    negativeBorderColor?: Color

    Bar border colour for negative values. When absent, borderColor is used.

    negativeFillColor?: Color

    Bar colour for negative values. When absent, fillColor is used.

    showValue?: boolean

    Whether the cell value is shown alongside the bar.

    true