IChartSunburstNode

interface
Data Visualisation

Fully-resolved node produced by the sunburst geometry engine. Every field is definite — defaults and inherited values have been applied. Contains SVG arc coordinates, resolved colour and the label rendering mode decision.

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

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.

id
requis
string
Unique path key built as "Root > Branch > Leaf". Used as the v-for :key.
name
requis
string
Display name — copy of datum.name.
value
requis
number
Resolved numeric value — sum of children when absent in the source datum.
depth
requis
number
Tree depth; root-level nodes are 0.
rootIndex
requis
number
Index within the root-level array — used for colour inheritance down the tree.
startAngle
requis
number
Arc start angle in radians [0, 2π).
endAngle
requis
number
Arc end angle in radians (0, 2π].
innerR
requis
number
Inner ring radius for this node in SVG user units.
outerR
requis
number
Outer ring radius for this node in SVG user units.
d
requis
string
Pre-computed SVG <path d="…"> for the arc segment.
color
requis
string
Resolved CSS colour string — intent variable or raw value.
visible
requis
boolean
Whether this node is currently visible (driven by legend toggle on root-level entries).
path
requis
string
Full ancestor path string "Root > Branch > Leaf" — shown in the tooltip.
labelMode
requis
TChartSunburstLabelMode
How the label for this node should be rendered. 'inline' — centred inside the arc. 'rotated' — tangentially along the arc midpoint. 'leader' — outside the chart with a leader line.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

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

Reading IChartSunburstNode from the tooltip slot

vue