IChartSparklineKind
interface
Data Visualisation
Internal marker descriptor for a highlighted circle rendered on the sparkline SVG. Used by the min / max / last indicator rendering logic inside OrigamChartSparkline.
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.
- cxrequirednumber
- SVG cx coordinate of the marker circle centre.
- cyrequirednumber
- SVG cy coordinate of the marker circle centre.
- rrequirednumber
- Circle radius in SVG pixels.
- fillrequiredstring
- Resolved CSS fill colour string applied to the marker circle.
- rolerequired'min' | 'max' | 'last'
- Role of this marker — 'min' highlights the minimum value, 'max' the maximum, 'last' the most recent data point.
- dataIndexrequirednumber
- Index of the data point this marker corresponds to inside the series data array.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
IChartSparklineKind used internally by the sparkline renderer