IChartParetoSlots
interface
Chart
Slot signatures exposed by <OrigamChartPareto>. Extends IChartBaseSlots with a rich tooltip slot that exposes the full bar descriptor including share and cumulative percentage.
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 formattedValue: string share: number cumulative: number color: string }) => any
- Custom tooltip content. Receives the full bar descriptor so consumers can show share and cumulative percentage alongside the raw value.
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 cumulative percentage