Skip to content

Documentation / @ripl/charts / ScatterChartSeriesOptions

Interface: ScatterChartSeriesOptions<TData> ​

Defined in: charts/src/charts/scatter.ts:93

Configuration for an individual scatter chart series.

Type Parameters ​

Type Parameter
TData

Properties ​

PropertyTypeDescriptionDefined in
color?stringOptional color override for the series (otherwise a palette color is generated).charts/src/charts/scatter.ts:97
idstringUnique identifier for the series.charts/src/charts/scatter.ts:95
labelstring | ((item) => string)Display label for the series, or an accessor deriving a per-item label.charts/src/charts/scatter.ts:105
marker?SymbolTypeBubble symbol shape: 'circle' (default), 'square', 'diamond', or 'triangle'. Non-circle symbols are sized to the same visual area as the circle.charts/src/charts/scatter.ts:113
maxRadius?numberLargest bubble radius in pixels when sizeBy is set. Defaults to 20.charts/src/charts/scatter.ts:109
minRadius?numberSmallest bubble radius in pixels. Defaults to 3.charts/src/charts/scatter.ts:107
sizeBy?number | NumericAccessor<TData>Optional accessor whose value scales each bubble's size between minRadius and maxRadius.charts/src/charts/scatter.ts:103
xByNumericAccessor<TData>Accessor for each item's value on the x-axis.charts/src/charts/scatter.ts:99
yAxis?stringThe id of the y-axis this series binds to. Defaults to the primary axis.charts/src/charts/scatter.ts:111
yByNumericAccessor<TData>Accessor for each item's value on the y-axis.charts/src/charts/scatter.ts:101