Skip to content

Interface: ErrorBarOptions

Defined in: layers/errorbar.ts:11

Properties

band?

ts
optional band?: boolean;

Defined in: layers/errorbar.ts:29

Fill a shaded band between the low/high y bounds. Default false.


bandOpacity?

ts
optional bandOpacity?: number;

Defined in: layers/errorbar.ts:31

Band fill opacity. Default 0.2.


capSize?

ts
optional capSize?: number;

Defined in: layers/errorbar.ts:25

Cap length in CSS px (0 hides caps). Default 6.


color?

ts
optional color?: string | Color;

Defined in: layers/errorbar.ts:21


name?

ts
optional name?: string;

Defined in: layers/errorbar.ts:34


renderType?

ts
optional renderType?: RenderType;

Defined in: layers/errorbar.ts:33

Buffer-usage hint; set "dynamic" when streaming via setData. Default "static".


whiskers?

ts
optional whiskers?: boolean;

Defined in: layers/errorbar.ts:27

Draw I-beam whiskers. Default true.


width?

ts
optional width?: number;

Defined in: layers/errorbar.ts:23

Whisker/cap thickness in CSS px. Default 1.5.


x

ts
x: ArrayLike<number>;

Defined in: layers/errorbar.ts:12


xerr?

ts
optional xerr?: ErrInput;

Defined in: layers/errorbar.ts:20

Symmetric x error (half-width). Scalar or per-point.


y

ts
y: ArrayLike<number>;

Defined in: layers/errorbar.ts:13


yAxis?

ts
optional yAxis?: string;

Defined in: layers/errorbar.ts:35


yerr?

ts
optional yerr?: ErrInput;

Defined in: layers/errorbar.ts:15

Symmetric y error (half-height). Scalar or per-point.


yerrHigh?

ts
optional yerrHigh?: ErrInput;

Defined in: layers/errorbar.ts:18


yerrLow?

ts
optional yerrLow?: ErrInput;

Defined in: layers/errorbar.ts:17

Asymmetric y error below/above y (overrides yerr).

MIT licensed. WebGL2 required.