ZoomCharts Documentation
Switch to Version 2.0 (BETA)
ZoomCharts.Configuration.PieChartSettingsLabels
Methods
Properties
Label rotation angle.
Where the bend occurs for the angled connector. 0 means it is exactly halfway between the label and the pie. -1 means it is at the label, and 1 means it is at the pie.
Minimal connector length from slice to label.
Connector line type.
Valid values:- curved - curved lines
- straight - straight lines
- angled - lines away from the pie with a configurable bend, then horizontally towards the label
- strictAngled - lines directly away from the pie, then horizontally towards the label
- constrained - lines using only 45-degree multiples (0°, 45°, 90°, etc.)
Whether to show connector lines for labels.
Show/hide labels.
Whether to include the name in the label
Whether to include the percent in the label
Inside label placement method.
Valid values:- always - always show
- auto - show only when available area is at least insideLabelVisibilityFraction from label size
- append - same as auto, but append inside label to normal label when it cannot be shown inside.
Inside label is not shown if the fraction of label that fits inside slice is smaller than this.
Min distance between labels, as a fraction of line height.
Maximum width of the multi label, with null or undefined for no limit.
Outside labels placement method.
Valid values:- aligned - align labels in vertical lines. If not enough space, wrap labels around the pie.
- forceAligned - align labels in vertical lines, and don't show labels if not enough space.
- wrap - wrap labels tightly around pie
Whether to use multiple label styles for the same slice.