IChartDrilldownProps

interface
Chart

Chart-level prop that wires up the drilldown feature on <OrigamChartCartesian> or <OrigamChartPolar>. Supplies the bank of sub-datasets and an optional Back button label for the breadcrumb navigation.

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

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.

datasets
requis
Array<IChartDrilldownDataset>
Bank of named sub-datasets. Looked up by IChartDrilldownLink.id on point-click.
backLabel
string
'← Back'
Localized label rendered on the Back button / first breadcrumb segment. Default '← Back'.
navAriaLabel
string

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Enabling drilldown on a cartesian chart

typescript