Skip to main content

RotationType Enum

Specifies the way a 3D chart diagram is rotated.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum RotationType

Members

Name Description
UseMouseStandard

The 3D chart is rotated at design time with the Ctrl+mouse pointer (at runtime only the mouse pointer should be used); and the rotation is based upon the standard rotation algorithm. In this instance the chart diagram is rotated around the X-axis and Y-axis of the chart’s diagram.

For instance, to start rotating a 3D chart at design time you need to press the Ctrl button, then left-click the chart’s diagram and start moving the mouse pointer.

To start rotating a 3D chart at runtime, you need to simply left-click the chart’s diagram and start moving the mouse pointer. Note that in this instance, the RuntimeRotation property must be set to true.

UseMouseAdvanced

The 3D chart is rotated at design time with the Ctrl+mouse pointer (at runtime only the mouse pointer should be used); and the rotation is based upon the advanced rotation algorithm. In this instance the chart diagram is rotated around the axes which have the same directions as the X-axis and Y-axis of the screen.

For instance, to start rotating a 3D chart at design time, you need to press the Ctrl button, then left-click the chart’s diagram and start moving the mouse pointer.

To start rotating a 3D chart at runtime, you need to simply left-click the chart’s diagram and start moving the mouse pointer. Note that in this instance, the RuntimeRotation property must be set to true.

UseAngles

The 3D chart is rotated around the X, Y and Z axes by the Diagram3D.RotationAngleX, Diagram3D.RotationAngleY and Diagram3D.RotationAngleZ values in the order defined by the Diagram3D.RotationOrder property.

Related API Members

The following properties accept/return RotationType values:

Library Related API Members
Cross-Platform Class Library Diagram3D.RotationType
WinForms Controls Diagram3DModel.RotationType

Remarks

The RotationType enumeration’s values are returned by the Diagram3D.RotationType property of a Diagram3D object. Note, that Diagram3D objects are returned by the ChartControl.Diagram property if it currently shows a series of 3D types.

See Also