IChartBulletSlots

interface
Chart

Slot signatures exposed by <OrigamChartBullet>. Extends IChartBaseSlots with an enriched tooltip slot that provides the full bullet geometry descriptor and a pre-computed delta percentage.

TypeScript

Definition

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

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

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

tooltip
(bindings: { point: IChartPoint series: IChartSeries category: string | number bullet: IChartBulletBullet delta: number }) => any
Override the default tooltip body. Receives the hovered bullet descriptor plus a pre-computed delta % (value / target * 100).

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom tooltip showing value vs target in a bullet chart

vue