IChartLegendSlots
interface
Chart
Slot signatures exposed by <OrigamChartLegend>. Provides a legend-item slot so a consumer can replace one entry with a custom render (chip, icon, etc.).
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.
- 'legend-item'(bindings: { series: IChartSeries, index: number, visible: boolean }) => any
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Custom legend entry with a chip