YRotation Property
The YRotation property returns or sets the Y rotation of a 3D graph. Returns a Double.
Syntax
object.YRotation
object.YRotation = YRotation
Parameter | Type | Description |
YRotation | Double | required, value between 0 and 360 degrees |
Example 1
This example demonstrates how to set the Y rotation of a 3D graph.
Graph2.YRotation = 20
Example 2
This example demonstrates how to return the Y rotation of a 3D graph.
Debug.Print Graph2.YRotation
Used by: Auto3DPieChart object, AutoGraph object