IChartTick
interface
Data Visualisation
A single tick rendered along a chart axis. position is the SVG pixel coordinate, label the already-formatted string to display, and value the original data value before formatting.
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.
- positionrequisnumber
- SVG pixel coordinate where this tick is drawn on the axis.
- labelrequisstring
- Already-formatted string rendered as the tick label.
- valuerequisnumber | string
- Original data value before formatting — numeric for Y axes, string for categorical X axes.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
IChartTick array produced by useChart