IChartSankeyDatum
interface
Chart
A single flow datum in the Sankey series. from and to are node name strings — nodes are inferred automatically from the full set of unique names. value must be >= 0. An optional color override accepts a TIntent token or raw CSS colour.
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.
- fromrequisstring
- Source node name.
- torequisstring
- Target node name.
- valuerequisnumber
- Flow magnitude. Must be >= 0.
- colorTIntent | string
- Optional per-link colour override. Accepts a design-system intent token or any raw CSS colour string. When absent the source node's colour is used.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Defining flow data for a Sankey diagram