@jsfkit/types
    Preparing search index...

    Type Alias ChartErrorBars

    Error bars on a series.

    type ChartErrorBars = {
        barType?: "both" | "plus" | "minus";
        direction?: "x" | "y";
        endCaps?: boolean;
        line?: Line;
        minusField?: string;
        plusField?: string;
        value?: number;
        valueType: "fixed" | "percent" | "stdDev" | "stdErr" | "custom";
    }
    Index

    Properties

    barType?: "both" | "plus" | "minus"
    "both"
    
    direction?: "x" | "y"

    Which values the error bars apply to. Only scatter, bubble, and area charts have x error bars. On an area chart, they're measured in categories.

    "y"
    
    endCaps?: boolean

    Whether the error bars have end caps.

    true
    
    line?: Line

    Style of the error bars. By default, they're 0.75pt tx1 65%/35%.

    minusField?: string

    Dataset field holding the minus amounts, when valueType is custom.

    plusField?: string

    Dataset field holding the plus amounts, when valueType is custom.

    value?: number

    The amount for fixed, percent, and stdDev. Not used by the other types.

    valueType: "fixed" | "percent" | "stdDev" | "stdErr" | "custom"

    How the error amount is calculated.

    Value Amount
    fixed value, for every point.
    percent value percent of each point's value.
    stdDev value standard deviations of the series.
    stdErr The standard error of the series.
    custom Per point, from the plusField and minusField fields.