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.
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.
- xrequisnumber | string
- Column key — maps to an X-axis category.
- yrequisnumber | string
- Row key — maps to a Y-axis category.
- valuerequisnumber
- 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