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.v19.1.dll
Declaration
[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 |
---|---|
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EqualPieSize property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.