IChartGaugeSlots
interface
Chart
Slot signatures exposed by <OrigamChartGauge>. Extends IChartBaseSlots with three gauge-specific slots for the centre value label and the min / max arc endpoint labels.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
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.
- 'gauge-value'(bindings: { value: number, ratio: number, formatted: string, unit: string }) => any
- 'gauge-min'(bindings: { value: number }) => any
- 'gauge-max'(bindings: { value: number }) => any
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom centre label with icon in a gauge chart