Skip to main content

Diagram3D.RotationOrder Property

Gets or sets a value which determines the order of rotation around the X, Y and Z axes.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[NonTestableProperty]
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public RotationOrder RotationOrder { get; set; }

Property Value

Type Description
RotationOrder

A RotationOrder enumeration value.

Available values:

Name Description
XYZ

The chart is first rotated around the X-axis by the Diagram3D.RotationAngleX value, then around the Y-axis by the Diagram3D.RotationAngleY value, and then around the Z-axis by the Diagram3D.RotationAngleZ value.

XZY

The chart is first rotated around the X-axis by the Diagram3D.RotationAngleX value, then around the Z-axis by the Diagram3D.RotationAngleZ value, and then around the Y-axis by the Diagram3D.RotationAngleY value.

YXZ

The chart is first rotated around the Y-axis by the Diagram3D.RotationAngleY value, then around the X-axis by the Diagram3D.RotationAngleX value, and then around the Z-axis by the Diagram3D.RotationAngleZ value.

YZX

The chart is first rotated around the Y-axis by the Diagram3D.RotationAngleY value, then around the Z-axis by the Diagram3D.RotationAngleZ value, and then around the X-axis by the Diagram3D.RotationAngleX value.

ZXY

The chart is first rotated around the Z-axis by the Diagram3D.RotationAngleZ value, then around the X-axis by the Diagram3D.RotationAngleX value, and then around the Y-axis by the Diagram3D.RotationAngleY value.

ZYX

The chart is first rotated around the Z-axis by the Diagram3D.RotationAngleZ value, then around the Y-axis by the Diagram3D.RotationAngleY value, and then around the X-axis by the Diagram3D.RotationAngleX value.

Remarks

Note that the RotationOrder property can be used only if the Diagram3D.RotationType property is set to RotationType.UseAngles. If the Diagram3D.RotationType property is set to RotationType.UseMouseStandard or RotationType.UseMouseAdvanced, then the RotationOrder property value is undefined and can’t be used.

See Also