ZoomCharts Documentation

TimeChart.settings.legend.marker

This section is defined by the type LinearChartSettingsLegendMarker.

Visual element of legend entry with appropriate style to a slice color it corresponds. The content of each legend marker is the same as info popup appearing while hovering on slice.

Properties

alignment: "left" | "right"
Default value: "left"
Inherited from: BaseSettingsLegendMarker

Marker position relative to text

Valid values:
  • left
  • right
lineColor: string
Default value: "#fff"
Inherited from: BaseSettingsLegendMarker

Line color around marker shape

shape: "triangle" | "square" | "rhombus" | "triangle2" | "circle"
Default value: null
Introduced in version 1.13.2.

Specifies the shape for markers in the legend. If the value is null then the small icon representing the series is drawn.

Valid values:
  • circle - draws circles
  • square - draws rectangles
  • rhombus - draws rhombus (diamonds)
  • triangle - draws triangles, pointing up
  • triangle2 - draws triangles, pointing down
size: number
Default value: 20
Inherited from: BaseSettingsLegendMarker

Marker size.

X