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.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

cx
required
number
SVG cx coordinate of the marker circle centre.
cy
required
number
SVG cy coordinate of the marker circle centre.
r
required
number
Circle radius in SVG pixels.
fill
required
string
Resolved CSS fill colour string applied to the marker circle.
role
required
'min' | 'max' | 'last'
Role of this marker — 'min' highlights the minimum value, 'max' the maximum, 'last' the most recent data point.
dataIndex
required
number
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

typescript