IChartSunburstProps

interface
Data Visualisation

Props for OrigamChartSunburst — the hierarchical ring chart. Extends IChartBaseProps (omitting categories). Series data must be Array<IChartSunburstDatum> carrying a nested tree. Controls inner-radius hole size, ring padding, arc label rendering and value 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.

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.

innerRadius
number
0.15
Proportion of the overall radius reserved for the centre hole. 0 = full pie (no hole). 0.4 = deep donut.
ringPadding
number
1
Radial gap between consecutive rings in SVG pixels.
showLabel
boolean
true
When true, arc labels are rendered for nodes whose angular span is ≥ 0.1 rad.
yAxisFormat
(value: number) => string
Y-axis / tooltip value formatter. Receives the numeric value, returns a display string. Raw number used when omitted.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Sunburst with a large centre hole and currency formatter

vue