Skip to main content
DualValueSeriesOptions
Options for a dual value axis chart
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".
outline?booleanWhether or not to show an outline around the markers. Defaults to false.
outlineColor?stringColor for outline. If not provided, a contrasting color will be computed.
outlineWidth?numberThe width of the outline in pixels. Defaults to 1.
resolveMarker?MarkerResolutionFunctionOptional function to resolve a marker SVG string for each data point.
type?stringDefines the series type.
xAxisFieldstringName of the field from which to extract X axis data points
yAxisFieldstringName of the field from which to extract Y axis data points