ErrorBar

父组件

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

    默认值:0

  • animationDurationnumberoptional

    默认值:400

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

    默认值:"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

    默认值:true

  • strokestringoptional

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

    默认值:"black"

  • strokeWidthstring | numberoptional

    The width of the stroke

    默认值:1.5

  • widthstring | numberoptional

    Width of the error bar ends

    默认值:5

  • zIndexnumberoptional

    默认值:400