Skip to main content

Diagram3DModel.RotationType Property

Gets or sets the value of the Diagram3D.RotationType within the model.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v24.2.Wizard.dll

Declaration

[LocalizableCategory(DesignerCategories.Behavior)]
public RotationType RotationType { get; set; }

Property Value

Type Description
RotationType

The way a 3D chart diagram is rotated.

Available values:

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.

See Also