IChartVariwideSlots
interface
Chart
Slot signatures exposed by <OrigamChartVariwide>. Extends IChartBaseSlots with a richer tooltip slot that receives both the primary value and the secondary (width) encoding so consumers can format them freely.
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.
- tooltip(bindings: { point: IChartPoint category: string value: number widthValue: number formattedValue: string formattedWidth: string color: string }) => any
- Custom tooltip content. Receives the IChartPoint, category label, raw primary value, raw secondary (width) value, and their pre-formatted strings.
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 both dimensions