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

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

to
required
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.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Defining three qualitative range bands for a bullet

typescript