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.v20.1.dll


public double HeightToWidthRatio { get; set; }
Public Property HeightToWidthRatio As Double

Property Value

Type Description

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


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