Skip to main content
ChartSeriesOptions
Base interface for chart series options.
NameTypeDescription
color?stringColor to use for the series. This is optional and if not provided the chart will use a color from its installed ColorGenerator.
id?stringThe id of the series.
label?stringLabel for the series. Optional.
marker?stringOptional template to use for markers. This should be a string in VisuallyJs's internal template format, with namespaced SVG elements.
markerSize?numberSize (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?"square" | "circle" | "cross"Type of marker to draw. Defaults to "circle".
resolveMarker?MarkerResolutionFunctionOptional function to resolve a marker SVG string for each data point.
type?stringDefines the series type.