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

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

语法Syntax

表达式expression. RightAngleAxes

_表达式_代表图表对象的变量。expression A variable that represents a 'Chart' object.

备注Remarks

如果RightAngleAxes属性为True,则忽略**Perspective** 属性。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 3-D chart.

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

属性值Property value

VARIANTVARIANT

另请参阅See also

Chart 对象 AutoScaling 属性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.