IChartPictorialSlots
Slot signatures exposed by <OrigamChartPictorial>. Extends IChartBaseSlots with a tooltip slot that receives the hovered point, its series and the resolved category label, plus an empty slot rendered when the series array is empty.
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.
Héritage
Hérite de
Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.
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.
- tooltip(bindings: { point: IChartPoint series: IChartSeries category: string | number }) => any
- Replace the default tooltip card. Receives the hovered point, its series and the resolved category label.
- empty() => any
- Rendered when series is empty or has no data.
É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 in a pictorial chart