Skip to content

Interface: EventPlotOptions

Defined in: stats/charts.ts:250

Properties

color?

ts
optional color?: string | string[];

Defined in: stats/charts.ts:262

One colour, or one per row.


lineLength?

ts
optional lineLength?: number;

Defined in: stats/charts.ts:256

Tick height in data units. Default 0.7.


lineWidth?

ts
optional lineWidth?: number;

Defined in: stats/charts.ts:258

Tick width in data units. Defaults to 1/400 of the position span.


name?

ts
optional name?: string;

Defined in: stats/charts.ts:263


offsets?

ts
optional offsets?: ArrayLike<number>;

Defined in: stats/charts.ts:254

Row centres. Defaults to 0, 1, 2, ….


orientation?

ts
optional orientation?: "vertical" | "horizontal";

Defined in: stats/charts.ts:260

Lay the ticks out along y instead of x. Default "horizontal".


positions

ts
positions: readonly ArrayLike<number>[];

Defined in: stats/charts.ts:252

One array of event positions per row.


renderType?

ts
optional renderType?: RenderType;

Defined in: stats/charts.ts:265


yAxis?

ts
optional yAxis?: string;

Defined in: stats/charts.ts:264

MIT licensed. WebGL2 required.