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.
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.
- idrequisstring
- Unique path key built as "Root > Branch > Leaf". Used as the v-for :key.
- namerequisstring
- Display name — copy of datum.name.
- valuerequisnumber
- Resolved numeric value — sum of children when absent in the source datum.
- depthrequisnumber
- Tree depth; root-level nodes are 0.
- rootIndexrequisnumber
- Index within the root-level array — used for colour inheritance down the tree.
- startAnglerequisnumber
- Arc start angle in radians [0, 2π).
- endAnglerequisnumber
- Arc end angle in radians (0, 2π].
- innerRrequisnumber
- Inner ring radius for this node in SVG user units.
- outerRrequisnumber
- Outer ring radius for this node in SVG user units.
- drequisstring
- Pre-computed SVG <path d="…"> for the arc segment.
- colorrequisstring
- Resolved CSS colour string — intent variable or raw value.
- visiblerequisboolean
- Whether this node is currently visible (driven by legend toggle on root-level entries).
- pathrequisstring
- Full ancestor path string "Root > Branch > Leaf" — shown in the tooltip.
- labelModerequisTChartSunburstLabelMode
- 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