API / Series/Scatter / ScatterSeries

Defined in: src/types/chart/scatter.ts:34

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? object Options for the series data labels, appearing next to each data point.
dataLabels.allowOverlap? boolean Default false
dataLabels.enabled? boolean Enable or disable the data labels Default true
dataLabels.html? boolean Allows to use any html-tags to display the content. The element will be displayed outside the box of the SVG element. Default false
dataLabels.padding? number Default 5
dataLabels.style? Partial<BaseTextStyle> -
legend? ChartLegend & 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)
symbolType? "circle" | "diamond" | "square" | "triangle" | "triangle-down" A predefined shape or symbol for the dot
type "scatter" -
visible? boolean Initial visibility of the series
yAxis? number Y-axis index (when using two axes)