Skip to main content
A newer version of this page is available. .

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.v22.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
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
HeightToWidthRatio_100.png HeightToWidthRatio_50.png

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.

See Also