IChartTooltipSlots
interface
Data Visualisation
Slot signatures exposed by OrigamChartTooltip. The default slot replaces the entire tooltip body so consumers can render any chip, icon or formatted currency they need.
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.
- default(bindings: { point: IChartPoint, series: IChartSeries, category: string | number }) => any
- Replace the default tooltip body. Receives the hovered point, its series and the X-axis category.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom tooltip body with icon and formatted value