IChartBulletDatum
interface
Chart
Bullet data payload for a single series entry in a bullet chart. Combines the actual value, the target / goal value, and the qualitative range bands that form the background.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- valuerequirednumber
- Actual (measured) value. Drives the solid foreground bar.
- targetrequirednumber
- Target / goal value. Rendered as a thin cross-tick.
- rangesrequiredArray<IChartBulletRange>
- Qualitative range bands rendered behind the bars. At least one band is required; three is the Stephen Few recommendation (poor / acceptable / good).
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Providing bullet data with three qualitative ranges