IChartBulletRange

interface
Chart

One qualitative range band in a bullet chart. Bands are rendered left-to-right (horizontal) or bottom-to-top (vertical) and stack to cover the domain [0, maxRange].

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.

to
requis
number
Upper bound of this band (absolute value on the axis, not a width / height fraction). Bands are rendered in array order — each band covers [previous.to, this.to].
color
TIntent | string
Fill colour for this band. Accepts a TIntent token or a raw CSS colour string. When absent the component cycles through rangeColors.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Defining three qualitative range bands for a bullet

typescript