Chart3DControl.AspectRatio Property
Gets or sets the aspect ratio of the chart axes.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
Size3D | The axis length ratios. The default value is Size3D(1,1,1). |
Remarks
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">
<!--. . .-->
</dxc:Chart3DControl
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">
<!--. . .-->
</dxc:Chart3DControl
See Also