IChartPictorialSlots
interface
Chart
Slot signatures exposed by <OrigamChartPictorial>. Extends IChartBaseSlots with a tooltip slot that receives the hovered point, its series and the resolved category label, plus an empty slot rendered when the series array is empty.
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 series: IChartSeries category: string | number }) => any
- Replace the default tooltip card. Receives the hovered point, its series and the resolved category label.
- empty() => any
- Rendered when series is empty or has no data.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom tooltip in a pictorial chart