RightAngleAxes 属性 (Project)Chart.RightAngleAxes property (Project)

如此 如果图表的坐标轴为直角,并与图表旋转角或仰角无关。True if the chart axes are at right angles, independent of chart rotation or elevation. 仅适用于3d 折线图、3d 柱形图和3d 条形图。Applies only to 3D line, 3D column, and 3D bar charts. 读/写 BooleanRead/write Boolean.



expression:一个表示 Chart 对象的变量。expression A variable that represents a Chart object.


如果RightAngleAxes属性为True, 则将忽略**透视** 属性。If the RightAngleAxes property is True, the Perspective property is ignored.


以下示例将图表坐标轴设置为直角交叉。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


另请参阅See also

图表对象 自动缩放属性Chart Object AutoScaling Property

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.