Skip to main content

XYDiagram3D.HeightToWidthRatio Property

Gets or sets a value that specifies the ratio of the diagram’s height to its width, as a percentage.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public double HeightToWidthRatio { get; set; }

Property Value

Type Description
Double

A Double value that specifies the height to width ratio of the diagram.

Remarks

The HeightToWidthRatio properties have an effect on the diagram ratio and allows you to adjust the diagram appearance.

The following table illustrates the HeightToWidthRatio property in action.

The Property Value The Resulting Image
HeightToWidthRatio = 0.35 HeightToWidthRatio_0.35
HeightToWidthRatio = 0.75 HeightToWidthRatio_0.75
HeightToWidthRatio = 1 HeightToWidthRatio_1
See Also