IChartDrilldownDataset

interface
Chart

A named sub-dataset associated with a drilldown level in a cartesian chart. The chart swaps its active series and categories with these values when the user clicks a point carrying a matching IChartDrilldownLink.

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.

id
requis
string
Unique identifier — must match IChartDrilldownLink.id on the parent point.
name
requis
string
Human-readable name shown in the breadcrumb trail.
series
requis
Array<IChartSeries>
Series rendered when this dataset is active.
categories
Array<string>
X-axis category labels for the sub-dataset. When absent the chart falls back to numeric indices.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

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

Defining a drilldown sub-dataset

typescript