IChartHeatmapDatum

interface
Chart

Single datum shape consumed from series[0].data in a heatmap chart. Each entry represents one cell in the grid, identified by its column key (x), row key (y), and a numeric value that drives the cell colour.

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.

x
requis
number | string
Column key — maps to an X-axis category.
y
requis
number | string
Row key — maps to a Y-axis category.
value
requis
number
Numeric value driving the cell colour (interpolated between colorRange[0] and colorRange[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.

Providing cell data for a weekday × hour heatmap

typescript