IChartVariwideSlots
interface
Chart
Slot signatures exposed by <OrigamChartVariwide>. Extends IChartBaseSlots with a richer tooltip slot that receives both the primary value and the secondary (width) encoding so consumers can format them freely.
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 category: string value: number widthValue: number formattedValue: string formattedWidth: string color: string }) => any
- Custom tooltip content. Receives the IChartPoint, category label, raw primary value, raw secondary (width) value, and their pre-formatted strings.
É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 showing both dimensions