Skip to content

Interface: TreemapCell

Defined in: charts/treemap.ts:20

A laid-out cell: the input item plus its axis-aligned rect [x0,y0][x1,y1].

Properties

color?

ts
optional color?: string;

Defined in: charts/treemap.ts:23


label

ts
label: string;

Defined in: charts/treemap.ts:21


value

ts
value: number;

Defined in: charts/treemap.ts:22


x0

ts
x0: number;

Defined in: charts/treemap.ts:24


x1

ts
x1: number;

Defined in: charts/treemap.ts:26


y0

ts
y0: number;

Defined in: charts/treemap.ts:25


y1

ts
y1: number;

Defined in: charts/treemap.ts:27

MIT licensed. WebGL2 required.