Skip to content

Documentation / @ripl/charts / TreemapChartNodeEvent

Interface: TreemapChartNodeEvent ​

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

Payload emitted for treemap cell interaction events.

Properties ​

PropertyTypeDescriptionDefined in
keystringThe cell's unique key.charts/src/charts/treemap.ts:105
labelstringThe cell's display label.charts/src/charts/treemap.ts:103
valuenumberThe cell's numeric value.charts/src/charts/treemap.ts:101
xnumberX position of the cell's top-center anchor, in canvas coordinates.charts/src/charts/treemap.ts:97
ynumberY position of the cell's top edge, in canvas coordinates.charts/src/charts/treemap.ts:99