Table of contents
Collapse the table of content
Expand the table of content

Chart.Rotation Property (Project)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Gets or sets the rotation of the 3-D chart view (the rotation of the plot area around the z-axis), in degrees. Read/write Variant.


expression. Rotation

expression A variable that represents a Chart object.


The value of the Rotation property must be from 0 to 360, except for 3-D bar charts, where the value must be from 0 to 44. The default value is 20.

Rotations are rounded to the nearest integer.


The following example sets the rotation of the chart to 45 degrees. The example should be run on a 3-D chart.

Sub SetRotation()
    Dim chartShape As Shape
    Dim reportName As String

    reportName = "Simple 3-D chart"
    Set chartShape = ActiveProject.Reports(reportName).Shapes(1)

    chartShape.Chart.Rotation = 45
End Sub

Property value


See also

Other resources

Chart Object

© 2018 Microsoft