docx
    Preparing search index...

    Type Alias ChartErrorBarsAmount

    ChartErrorBarsAmount: ChartErrorBarsStyle & {
        direction?: "both" | "plus" | "minus";
    } & (
        | { type: "fixed"; value: number }
        | { type: "percentage"; value: number }
        | { type: "standardDeviation"; value?: number }
        | { type: "standardError" }
    )

    Error bars of a size that follows a rule: a fixed amount, a percentage of each value, a number of standard deviations, or the standard error.

    Type Declaration

    • Optional Readonlydirection?: "both" | "plus" | "minus"

      Which way the bars go from each point: both ways, or only towards higher values ("plus") or lower ones ("minus"). Default is "both"

    • { type: "fixed"; value: number }
      • Readonlytype: "fixed"

        The same amount at each point

      • Readonlyvalue: number

        The amount, 0 or more

    • { type: "percentage"; value: number }
      • Readonlytype: "percentage"

        A percentage of each point's value

      • Readonlyvalue: number

        The percentage, 0 or more

    • { type: "standardDeviation"; value?: number }
      • Readonlytype: "standardDeviation"

        A number of standard deviations of the series' values, from their average

      • Optional Readonlyvalue?: number

        How many standard deviations, 0 or more. Default is 1

    • { type: "standardError" }
      • Readonlytype: "standardError"

        The standard error of the series' values