ErrorBarSettings

10 Oct 20251 minute to read

Allows options for customize the error bar chart with different settings such as type, direction, mode, color, width, etc.

Properties

color string

Allows to set 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

Allows to set 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 PivotChartErrorBarCapSettingsModel

Allows options for customizing the cap of the error bar.

horizontalError number

Allows to set the horizontal error of the error bar.

Defaults to 1

horizontalNegativeError number

Allows to set the horizontal negative error of the error bar.

Defaults to 1

horizontalPositiveError number

Allows to set the horizontal positive error of the error bar.

Defaults to 1

mode ErrorBarMode

Allows to set 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

Allows to set 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

Allows to set the vertical error of the error bar.

Defaults to 1

verticalNegativeError number

Allows to set the vertical negative error of the error bar.

Defaults to 3

verticalPositiveError number

Allows to set the vertical positive error of the error bar.

Defaults to 3

visible boolean

Allows to set the visibility of the error bar gets rendered.

Defaults to false

width number

Allows to set the stroke width of the error bar.

Defaults to 1