IChartPyramidProps
Props for <OrigamChartPyramid> — the pyramid / funnel family. A single series of N data points is rendered as N horizontal trapezoids stacked vertically. type="funnel" = widest at top (conversion funnel); type="pyramid" = widest at bottom. Extends IChartBaseProps.
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.
- typeTChartPyramidKind
- Rendering mode. "funnel" = widest at top; "pyramid" = widest at bottom. Default "funnel".
- sliceGapnumber
- Gap between consecutive trapezoid slices, in SVG pixels. Default 4.
- labelPlacement'inside' | 'outside' | 'auto'
- Label placement strategy. "inside" — always inside; "outside" — always beside; "auto" — inside when slice height >= 28px, outside otherwise. Default "auto".
- xAxisFormat(value: string | number) => string
- X-axis / value formatter applied to the per-slice value label. When omitted the raw number is displayed.
- yAxisFormat(value: number) => string
- Y-axis formatter — alias kept for API symmetry with other families. Same as xAxisFormat for this geometry.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Conversion funnel chart