ErrorBar

Parent Components

ErrorBar consumes context provided by these components:

Properties

  • dataKeystring | number | Function

    Decides how to extract the value of this ErrorBar from the data:

    • string: the name of the field in the data object;
    • number: the index of the field in the data;
    • function: a function that receives the data object and returns the value of this ErrorBar.

    The error values can be a single value for symmetric error bars; or an array of a lower and upper error value for asymmetric error bars.

  • animationBeginnumberoptional

    DEFAULT: 0

  • animationDurationnumberoptional

    DEFAULT: 400

  • animationEasing"linear" | "ease" | "ease-in" | "ease-out" | "ease-in-out"optional

    DEFAULT: "ease-in-out"

  • directionstring | numberoptional

    Direction of the error bar. Usually determined by chart layout, except in Scatter chart. In Scatter chart, "x" means horizontal error bars, "y" means vertical error bars.

  • isAnimationActivebooleanoptional

    DEFAULT: true

  • strokestringoptional

    The stroke color. If "none", no line will be drawn.

    DEFAULT: "black"

  • strokeWidthstring | numberoptional

    The width of the stroke

    DEFAULT: 1.5

  • widthstring | numberoptional

    Width of the error bar ends

    DEFAULT: 5

  • zIndexnumberoptional

    DEFAULT: 400