IChartBoxPlotDatum

interface
Chart

Pre-aggregated datum for OrigamChartBoxPlot — the consumer supplies all five-number-summary values (min, q1, median, q3, max) and optional outlier array directly. Use IChartBoxPlotRawDatum when raw samples should be aggregated by the component.

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.

category
requis
string
Category label shown on the X axis.
min
requis
number
Minimum (lower fence or true min when no outliers).
q1
requis
number
First quartile — Q1 (25th percentile).
median
requis
number
Median — Q2 (50th percentile).
q3
requis
number
Third quartile — Q3 (75th percentile).
max
requis
number
Maximum (upper fence or true max when no outliers).
outliers
Array<number>
Values lying outside the 1.5·IQR whisker fences.
color
TIntent | string
Override colour for this datum. Intent token or raw CSS colour. When absent the category index cycles through colorScheme.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

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

Pre-aggregated box plot data

typescript