IChartHoneycombTile
interface
Chart
Internal tile descriptor produced by the honeycomb geometry engine. Contains every pre-computed value needed to render one <polygon>, its label, and tooltip / accessibility content.
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 data point in series[0].data.
- gridXrequisnumber
- Column index from data[i].x.
- gridYrequisnumber
- Row index from data[i].y.
- pointsrequisstring
- SVG points attribute string for the <polygon>.
- colorrequisstring
- Resolved CSS colour string.
- labelrequisstring
- Tile label (name or formatted value).
- namerequisstring
- Raw name string from the data point.
- valuerequisnumber | undefined
- Raw value from the data point.
- cxrequisnumber
- Centre X in SVG user units.
- cyrequisnumber
- Centre Y in SVG user units.
- visiblerequisboolean
- Whether this tile is currently visible (legend toggle).
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Accessing tile descriptors from the composable