IChartPoint
interface
Chart
Hover / click payload bubbled by <OrigamChart> whenever a data point is interacted with. Fields are denormalised — the consumer does not need to re-look-up the series or resolve the colour from the palette.
TypeScript
Définition
La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.
API
Propriétés
Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.
- seriesIndexrequisnumber
- Index of the series in props.series.
- seriesNamerequisstring
- Series name (mirrors IChartSeries.name).
- dataIndexrequisnumber
- Index of the data point inside the series.
- xrequisnumber | string
- X coordinate (number or category string).
- yrequisnumber
- Y value.
- colorrequisstring
- Resolved CSS colour string (intent → token → CSS or raw).
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Handling the point-click emit