RotationType Enum
Specifies the way a 3D chart diagram is rotated.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v18.1.dll
Declaration
[TypeConverter(typeof(EnumTypeConverter))]
[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 ChartControl.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 ChartControl.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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RotationType enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.