Skip to content

Documentation / @ripl/charts / HeatmapChartCellEvent

Interface: HeatmapChartCellEvent

Defined in: charts/src/charts/heatmap.ts:92

Payload emitted for heatmap cell interaction events.

Properties

PropertyTypeDescriptionDefined in
valuenumberThe value of the interacted cell.charts/src/charts/heatmap.ts:98
xnumberThe x coordinate (in chart pixels) of the cell's top-centre anchor.charts/src/charts/heatmap.ts:94
xLabelstringThe x-axis category of the interacted cell.charts/src/charts/heatmap.ts:100
ynumberThe y coordinate (in chart pixels) of the cell's top-centre anchor.charts/src/charts/heatmap.ts:96
yLabelstringThe y-axis category of the interacted cell.charts/src/charts/heatmap.ts:102