IChartPictorialColumn

interface
Chart

One column descriptor produced by the pictorial geometry engine. Holds pre-computed positions for background and filled icon grids, enabling the <OrigamChartPictorial> template to render each isotype column.

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.

seriesIndex
requis
number
Series index (0-based).
dataIndex
requis
number
Data index within the series.
category
requis
string
Category label (from categories[dataIndex] or fallback).
value
requis
number
Raw numeric value from series[seriesIndex].data[dataIndex].
formatted
requis
string
Pre-formatted value string.
totalSlots
requis
number
Total icon slots in this column (background capacity).
filledSlots
requis
number
Number of filled icon slots.
color
requis
string
Resolved fill CSS colour string.
x
requis
number
X translation for the column group (SVG coordinate).
y
requis
number
Y translation for the column group (SVG coordinate).
iconSize
requis
number
Computed icon size in SVG pixels.
visible
requis
boolean
Whether this column 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 column descriptors from the pictorial engine

typescript