IChartTreemapSlots

interface
Data Visualisation

Slot signatures exposed by OrigamChartTreemap. Extends IChartBaseSlots with a tile-label slot that replaces the inline name + value text inside each tile, receiving the full tile descriptor for complete customisation.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

'tile-label'
(bindings: { name: string value: number formatted: string color: string index: number visible: boolean }) => any

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom tile label with percentage share

vue