API / Series/Scatter / ScatterSeries
Defined in: src/types/chart/scatter.ts:35
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
T |
MeaningfulAny |
Properties
| Property | Type | Description |
|---|---|---|
color? |
string |
The main color of the series (hex, rgba) |
cursor? |
string |
You can set the cursor to "pointer" if you have click events attached to the series, to signal to the user that the points and lines can be clicked. |
data |
ScatterSeriesData<T>[] |
- |
dataLabels? |
BaseDataLabels |
Options for the series data labels, appearing next to each data point. |
legend? |
BaseSeriesLegend & object |
Individual series legend options. Has higher priority than legend options in widget data |
name |
string |
The name of the series (used in legend, tooltip etc) |
nullMode? |
"zero" | "skip" |
Defines how to handle null values in the data. - 'zero': Treat null values as zero - 'skip': Omit data points with null values (don't render them) Default 'skip' |
rangeSlider? |
ChartSeriesRangeSliderOptions |
Options to configure how this series appears and behaves in the Range Slider component. |
symbolType? |
"square" | "circle" | "diamond" | "triangle" | "triangle-down" |
A predefined shape or symbol for the dot |
tooltip? |
object |
Options for the tooltip that appears when the user hovers over a series or point. |
tooltip.valueFormat? |
ValueFormat |
Formatting settings for tooltip value. |
type |
"scatter" |
- |
visible? |
boolean |
Initial visibility of the series |
yAxis? |
number |
Y-axis index (when using two axes) |
Previous