IChartPolarProps

interface
Chart

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.

typescript

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.

type
TChartPolarKind
Polar visualisation primitive. Default "pie".
donutHoleSize
number
Inner-radius proportion for "donut". 0 collapses to a pie, 1 to a zero-thickness ring. Ignored when type="pie". Default 0.6.
showTooltip
boolean
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.
drilldown
IChartDrilldownProps
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

vue