MindFusion.Charting Programmer's Guide

PieChart.PieMargins Property

See Also
 





Specifies the margins for the pie chart.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public float PieMargins { get; }

Visual Basic  Copy Code

Public ReadOnly Property PieMargins As Single

 Property Value

A float value that specifies the margins, in points.

 Remarks

The property specifies the margins that are left at all four side of the pie chart. When the PieMargins property is set, the control does not calculate any space for the OuterLabels / InnerLabels. That is why the margins should be set in accordance with the length of the labels and the piece pointers.

The size of the legend (if any) is not included in the pie margins.

Default value for the PieMargins property is -1, which means that MindFusion.Charting calculates the margins automatically so that all labels could fit in.

 See Also