PieSeriesView.HeightToWidthRatio Property
Gets or sets a value that specifies the ratio of the pie chart’s height to its width.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
[XtraSerializableProperty]
public double HeightToWidthRatio { get; set; }
Property Value
Type | Description |
---|---|
Double | A floating point value that specifies the height to width ratio of the chart. |
Remarks
Use the HeightToWidthRatio property to control the pie chart’s height relative to its width.
HeightToWidthRatio = 1 | HeightToWidthRatio = 0.5 |
---|---|
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HeightToWidthRatio 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.