IChartTooltipSlots
interface
Data Visualisation
Slot signatures exposed by OrigamChartTooltip. The default slot replaces the entire tooltip body so consumers can render any chip, icon or formatted currency they need.
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.
- default(bindings: { point: IChartPoint, series: IChartSeries, category: string | number }) => any
- Replace the default tooltip body. Receives the hovered point, its series and the X-axis category.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Custom tooltip body with icon and formatted value