ZoomCharts Documentation
Version: 1.21.1 (2024-11-08)
PieChart.settings.legend.marker
This section is defined by the type PieChartSettingsLegendMarker.
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: "square"
Specifies the shape for color markers in the legend.
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.