Skip to content

Documentation / @ripl/charts / TreemapChartCellEvent

Interface: TreemapChartCellEvent

Defined in: charts/src/charts/treemap.ts:79

Payload emitted for treemap cell interaction events.

Properties

PropertyTypeDescriptionDefined in
keystringThe cell's unique key.charts/src/charts/treemap.ts:89
labelstringThe cell's display label.charts/src/charts/treemap.ts:87
valuenumberThe cell's numeric value.charts/src/charts/treemap.ts:85
xnumberX position of the cell's top-centre anchor, in canvas coordinates.charts/src/charts/treemap.ts:81
ynumberY position of the cell's top edge, in canvas coordinates.charts/src/charts/treemap.ts:83