IChartStreamgraphProps
Props for OrigamChartStreamgraph. Multiple series are rendered as continuous flowing ribbons stacked over time on the X axis. The baseline offset algorithm is controlled by offsetMode: wiggle (canonical streamgraph), silhouette, expand, or zero.
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.
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.
- offsetModeTChartStreamgraphOffset'wiggle'
- Baseline offset algorithm. 'wiggle' — Byron-Wattenberg: centred baseline minimising total slope change (canonical). 'silhouette' — centred at half total stack. 'expand' — normalised to 100% height. 'zero' — traditional stacked area.
- smoothing'none' | 'curve''curve'
- Path interpolation. 'curve' applies Catmull-Rom smoothing on each ribbon's top and bottom polylines. 'none' uses straight linear segments.
- showAxisbooleantrue
- Toggle the X / Y axis guides.
- showGridbooleanfalse
- Toggle background grid lines.
- xAxisFormat(value: string | number) => string
- Formatter applied to each X-axis category label.
- yAxisFormat(value: number) => string
- Formatter applied to Y-axis tick labels.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Streamgraph with percent-normalised expand mode