Skip to content

Interface: TreemapItem

Defined in: charts/treemap.ts:12

A weighted item to lay into the treemap.

Properties

color?

ts
optional color?: string;

Defined in: charts/treemap.ts:16

Explicit fill; otherwise a palette color is cycled by index.


label

ts
label: string;

Defined in: charts/treemap.ts:13


value

ts
value: number;

Defined in: charts/treemap.ts:14

MIT licensed. WebGL2 required.