IChartSparklineKind

interface
Data Visualisation

Internal marker descriptor for a highlighted circle rendered on the sparkline SVG. Used by the min / max / last indicator rendering logic inside OrigamChartSparkline.

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.

cx
requis
number
SVG cx coordinate of the marker circle centre.
cy
requis
number
SVG cy coordinate of the marker circle centre.
r
requis
number
Circle radius in SVG pixels.
fill
requis
string
Resolved CSS fill colour string applied to the marker circle.
role
requis
'min' | 'max' | 'last'
Role of this marker — 'min' highlights the minimum value, 'max' the maximum, 'last' the most recent data point.
dataIndex
requis
number
Index of the data point this marker corresponds to inside the series data array.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

IChartSparklineKind used internally by the sparkline renderer

typescript