Skip to content

Interface: BoxOptions ​

Defined in: layers/box.ts:16

Properties ​

box? ​

ts
optional box?: boolean;

Defined in: layers/box.ts:21

Draw the Tukey box + whiskers (default true).


groups ​

ts
groups: BoxGroup[];

Defined in: layers/box.ts:17


renderType? ​

ts
optional renderType?: RenderType;

Defined in: layers/box.ts:25

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


violin? ​

ts
optional violin?: boolean;

Defined in: layers/box.ts:23

Draw a violin (KDE) shape behind/instead of the box (default false).


width? ​

ts
optional width?: number;

Defined in: layers/box.ts:19

Group width in data units.


yAxis? ​

ts
optional yAxis?: string;

Defined in: layers/box.ts:26

MIT licensed. WebGL2 required.