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.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- xrequirednumber | string
- X coordinate — numeric for scatter, category string for categorical axes.
- yrequirednumber
- Y value mapped to the vertical scale.
- namestring
- Optional friendly label shown in the tooltip instead of the raw x value.
- znumber
- 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.
- drilldownIChartDrilldownLink
- 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