Muokkaa

Jaa


Chart.Rotation property (Excel)

Returns or sets the rotation of the 3D chart view (the rotation of the plot area around the z-axis, in degrees). The value of this property must be from 0 to 360, except for 3D bar charts, where the value must be from 0 to 44. The default value is 20. Applies only to 3D charts. Read/write Variant.

Syntax

expression.Rotation

expression A variable that represents a Chart object.

Remarks

Rotations are always rounded to the nearest integer.

Example

This example sets the rotation of Chart1 to 30 degrees. The example should be run on a 3D chart.

Charts("Chart1").Rotation = 30

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.