IChartHoneycombPoint
interface
Chart
Payload passed to IChartPoint for a hovered / clicked honeycomb tile. Exposes x = gridX, y = gridY plus the tile name and value for downstream consumers.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
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.
- tileNamerequiredstring
- Raw name string from the data point corresponding to the hovered tile.
- tileValuerequirednumber | undefined
- Raw value from the data point corresponding to the hovered tile; undefined when the datum carries no value.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Handling a point-click event on a honeycomb tile