IChartPolarBarSlots

interface
Chart

Slot signatures exposed by <OrigamChartPolarBar>. Extends IChartBaseSlots with an enriched tooltip slot that also receives the pre-computed percentage string for the hovered wedge.

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

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 | number percentage: string }) => any
Replace the default tooltip body. Receives the standard bindings plus the pre-computed percentage string for the hovered wedge.

É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 with percentage on a polar-bar chart

vue