Skip to main content

ChartSeriesOptions

Base interface for chart series options.

Extended by

Properties

color?

optional color: string

Color to use for the series. This is optional and if not provided the chart will use a color from its installed ColorGenerator.


id?

optional id: string

The id of the series.


label?

optional label: string

Label for the series. Optional.


marker?

optional marker: string

Optional template to use for markers. This should be a string in VisuallyJs's internal template format, with namespaced SVG elements.


markerSize?

optional markerSize: number

Size (in pixels) to use for data points. Defaults to 10 pixels. For circular markers this equates to the diameter; for square/cross this is width/height


markerType?

optional markerType: "square" | "circle" | "cross"

Type of marker to draw. Defaults to "circle".


resolveMarker?

optional resolveMarker: MarkerResolutionFunction

Optional function to resolve a marker SVG string for each data point.


type?

optional type: string

Defines the series type.