Skip to main content
RecordBasedSeriesOptions
Options for a RecordBasedSeries.
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".
maxValueField?stringName of the field containing maximum values, when the series is used in a range plot. Defaults to "maxValue".
minValueField?stringName of the field containing minimum values, when the series is used in a range plot. Defaults to "minValue".
resolveMarker?MarkerResolutionFunctionOptional function to resolve a marker SVG string for each data point.
type?stringDefines the series type.
valueField?stringName of the field containing values. Defaults to "value".