IChartHeatmapCell
interface
Chart
Pre-computed cell descriptor produced by the heatmap geometry engine. Contains every pre-computed value needed to render one <rect>, its label, and tooltip / accessibility content — the SFC renders without arithmetic.
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.
- indexrequisnumber
- Original index of the datum in series[0].data.
- xCatrequisstring
- Column category string.
- yCatrequisstring
- Row category string.
- valuerequisnumber
- Raw numeric value.
- colorrequisstring
- Resolved CSS colour string for the cell fill.
- rxrequisnumber
- SVG x position (left edge of the rect).
- ryrequisnumber
- SVG y position (top edge of the rect).
- rwrequisnumber
- Cell width in SVG user units.
- rhrequisnumber
- Cell height in SVG user units.
- labelXrequisnumber
- Centre X for the value label text.
- labelYrequisnumber
- Centre Y for the value label text.
- labelFitsrequisboolean
- true when the cell is tall / wide enough to show the label.
- visiblerequisboolean
- Whether this cell is currently visible.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Reading cell geometry in a custom heatmap tooltip