Chart.RightAngleAxes property (Project)

True if the chart axes are at right angles, independent of chart rotation or elevation. Applies only to 3D line, 3D column, and 3D bar charts. Read/write Boolean.

Syntax

expression.RightAngleAxes

expression A variable that represents a Chart object.

Remarks

If the RightAngleAxes property is True, the Perspective property is ignored.

Example

The following example sets the chart axes to intersect at right angles. The example should be run on a 3D chart.

Sub SetRightAngleAxes()
    Dim chartShape As Shape
    Dim reportName As String
    
    reportName = "Simple 3D chart"
    Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
    
    chartShape.Chart.RightAngleAxes = True
End Sub

Property value

VARIANT

See also

Chart Object AutoScaling Property

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.