ErrorBarSettingsModel

23 Sep 20252 minutes to read

Interface for a class ErrorBarSettings

Properties

color string

The color of the error bar’s stroke, which accepts values in hex, rgba, or as a valid CSS color string.

direction ErrorBarDirection

Specifies the direction of the error bar.
The available options are:

  • Both - Renders error bars in both directions (positive and negative).
  • Minus - Renders error bars in the negative direction.
  • Plus - Renders error bars in the positive direction.

errorBarCap ErrorBarCapSettingsModel

The errorBarCap property allows customization of the appearance and behavior of the caps at the ends of error bars in a chart series.

errorBarColorMapping string

Defines the color for the error bar, which is mapped to the data source mapping name.

horizontalError number|string

The horizontal error of the point can also be mapped from the data source.

horizontalNegativeError number|string

The horizontal negative error of the point can be mapped from the data source as well.

horizontalPositiveError number|string

The horizontal positive error of the point can be mapped from the data source as well.

mode ErrorBarMode

Specifies the mode for the error bar.
The available options are:

  • Vertical - Renders error bars in a vertical direction.
  • Horizontal - Renders error bars in a horizontal direction.
  • Both - Renders error bars in both vertical and horizontal directions.

type ErrorBarType

Specifies the type of error bar.
The available options are:

  • Fixed - Renders a fixed type error bar.
  • Percentage - Renders a percentage type error bar.
  • StandardDeviation - Renders a standard deviation type error bar.
  • StandardError - Renders a standard error type error bar.
  • Custom - Renders a custom type error bar.

verticalError number|string

The vertical error for the point can also be mapped from the data source.

verticalNegativeError number|string

The vertical negative error of the point can be mapped from the data source as well.

verticalPositiveError number|string

The vertical positive error of the point can be mapped from the data source as well.

visible boolean

If set to true, the error bar for the data will be rendered.

width number

The width property determines the thickness of the error bars rendered in the chart series.