Search results

ErrorBarSettings API in JavaScript (ES5) Chart API control

Error bar settings

Properties

color

string

The color for stroke of the error bar, which accepts value in hex, rgba as a valid CSS color string.

Defaults to null

direction

ErrorBarDirection

The direction of the error bar . They are

  • both - Renders both direction of error bar.
  • minus - Renders minus direction of error bar.
  • plus - Renders plus direction error bar.

Defaults to ‘Both’

errorBarCap

ErrorBarCapSettingsModel

Options for customizing the cap of the error bar.

errorBarColorMapping

string

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

Defaults to

horizontalError

number | string

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

Defaults to 1

horizontalNegativeError

number | string

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

Defaults to 1

horizontalPositiveError

number | string

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

Defaults to 1

mode

ErrorBarMode

The mode of the error bar . They are

  • Vertical - Renders a vertical error bar.
  • Horizontal - Renders a horizontal error bar.
  • Both - Renders both side error bar.

Defaults to ‘Vertical’

type

ErrorBarType

The type of the error bar . They 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.

Defaults to ‘Fixed’

verticalError

number | string

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

Defaults to 1

verticalNegativeError

number | string

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

Defaults to 3

verticalPositiveError

number | string

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

Defaults to 3

visible

boolean

If set true, error bar for data gets rendered.

Defaults to false

width

number

The stroke width of the error bar..

Defaults to 1