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.

typescript

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.

seriesIndex
requis
number
Index of the series in props.series.
seriesName
requis
string
Series name (mirrors IChartSeries.name).
dataIndex
requis
number
Index of the data point inside the series.
x
requis
number | string
X coordinate (number or category string).
y
requis
number
Y value.
color
requis
string
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

vue