Skip to main content

SimpleDiagram.EqualPieSize Property

Gets or sets a value that specifies whether pies in a chart are equal in size.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
[XtraSerializableProperty]
public bool EqualPieSize { get; set; }

Property Value

Type Description
Boolean

true, if the size of pies is equal in a chart; otherwise, false.

Remarks

Use the EqualPieSize property when you wish to set the size of all pies to an equal size. Note that the width and height of equal size get from the minimum width and height among all pies in a chart.

The following images demonstrate the EqualPieSize property in action.

EqualPieSize=true EqualPieSize=false
EqualPieSize_True EqualPieSize_False

When the EqualPieSize property is set to true, the PieSeriesView.MinAllowedSizePercentage property will affect those series that have a lesser allowed size.

To learn more on the Pie series view, see Pie Chart.

See Also