Skip to content

Interface: TreemapOptions ​

Defined in: charts/treemap.ts:139

Properties ​

colors? ​

ts
optional colors?: PaletteSpec;

Defined in: charts/treemap.ts:143

Palette cycled by index for items lacking a color. Defaults to TREEMAP_PALETTE.


extent? ​

ts
optional extent?: TreemapExtent;

Defined in: charts/treemap.ts:141


items ​

ts
items: TreemapItem[];

Defined in: charts/treemap.ts:140


labels? ​

ts
optional labels?: boolean;

Defined in: charts/treemap.ts:148

Draw a centered label per cell (tiny cells are skipped). Default true.


name? ​

ts
optional name?: string;

Defined in: charts/treemap.ts:145


opacity? ​

ts
optional opacity?: number;

Defined in: charts/treemap.ts:144


renderType? ​

ts
optional renderType?: RenderType;

Defined in: charts/treemap.ts:146

MIT licensed. WebGL2 required.