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

Chart3DControl.AspectRatio Property

Gets or sets the aspect ratio of the chart axes.

Namespace: DevExpress.Xpf.Charts

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


public Size3D AspectRatio { get; set; }

Property Value

Type Description

The axis length ratios. The default value is Size3D(1,1,1).


The following images show a chart with different AspectRatio property values:

Use the following code to create a chart with axes of equal length.

<dxc:Chart3DControl AspectRatio="1 1 1">
<!--. . .-->

The chart calculates the length of axes based on chart data when the AspectRatio property values are set to zero - as shown in the following code example:

<dxc:Chart3DControl AspectRatio="0 0 0">
<!--. . .-->
See Also