IChartVariwideColumn
interface
Chart
Pre-computed column descriptor produced by the variwide geometry engine. Consumed by the template to render a single <rect> with variable width encoding a secondary metric.
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
- Index in the original data array.
- categoryrequisstring
- Category label from the datum.
- valuerequisnumber
- Raw primary value.
- widthValuerequisnumber
- Raw secondary (width) value.
- formattedValuerequisstring
- Pre-formatted value string (primary).
- formattedWidthrequisstring
- Pre-formatted width string (secondary).
- colorrequisstring
- Resolved CSS colour string (for fill).
- xrequisnumber
- SVG X of the left edge of the bar.
- yrequisnumber
- SVG Y of the top edge of the bar.
- wrequisnumber
- Bar width in SVG pixels.
- hrequisnumber
- Bar height in SVG pixels.
- cxrequisnumber
- X center — used for the X-axis tick label.
É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 column geometry in a custom tooltip slot