Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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