ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

FacetChart.settings.series.style.legend.marker

This section is defined by the type LinearChartSettingsSeriesStyleMarker.

Configures the marker that is shown in the legend. Note that the default (shape: null) means that instead of the plain marker, an icon representing the series visual style will be used.

Properties

fillColor: string

Marker fill color. If this is not set, then the line color or the fill color of the series is used instead. Use transparent to use transparent fill color.

fillGradient: GradientDefinition

Marker fill gradient. If this is not set, then the fillColor will be used instead.

fillGradientClampMode: string

How to use the gradient value to determine fill color. If "none" or not given, then gradient is drawn directly If "clamp", then use a single solid color based on gradient position

lineColor: string
Introduced in version 1.13.2.

The line color for the marker shape.

lineWidth: number
Introduced in version 1.13.2.

The width of the outline for the marker shape.

shape: "triangle" | "square" | "rhombus" | "triangle2" | "circle"

Specify the shape of markers on the line.

Valid values:
  • circle - draws circles
  • square - draws rectangles
  • rhombus - draws rhombus (diamonds)
  • triangle - draws triangles, pointing up
  • triangle2 - draws triangles, pointing down
width: number

The width of the marker. In case when circle - interpreted as the diameter.

X