IChartPolarProps
Props for <OrigamChartPolar> — handles pie and donut visualisations. No axes, no grid, no tick labels. Extends IChartBaseProps with polar-specific options including donut hole size, drilldown configuration, and axis formatters.
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.
- typeTChartPolarKind
- Polar visualisation primitive. Default "pie".
- donutHoleSizenumber
- Inner-radius proportion for "donut". 0 collapses to a pie, 1 to a zero-thickness ring. Ignored when type="pie". Default 0.6.
- showTooltipboolean
- Toggle the hover tooltip. Default true.
- xAxisFormat(value: string | number) => string
- Formatter applied to the tooltip X label. Pie tooltips show the category name + value.
- yAxisFormat(value: number) => string
- Formatter applied to the tooltip Y value.
- drilldownIChartDrilldownProps
- Drilldown configuration. When provided, data points that carry an IChartDrilldownLink trigger a chart-level navigation. A breadcrumb <nav> appears above the chart when depth > 1.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Donut chart with drilldown