IChartSeriesPoint

interface
Data Visualisation

Object form of a single data point inside IChartSeries.data. Required for scatter charts where the X axis is not a simple categories[index]. The optional z field turns the point into a bubble by scaling its dot radius.

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.

x
required
number | string
X coordinate — numeric for scatter, category string for categorical axes.
y
required
number
Y value mapped to the vertical scale.
name
string
Optional friendly label shown in the tooltip instead of the raw x value.
z
number
Third dimension for scatter — turns the chart into a bubble plot where the dot radius scales with z. Omit to keep the default fixed radius.
drilldown
IChartDrilldownLink
Drilldown reference. When present and the chart has a matching IChartDrilldownDataset, clicking this point replaces the chart view with the sub-dataset.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Scatter series with bubble sizing

typescript