Skip to content

Latest commit

 

History

History
54 lines (32 loc) · 1.18 KB

Project.chart.autoscaling.md

File metadata and controls

54 lines (32 loc) · 1.18 KB
title ms.service ms.assetid ms.date ms.localizationpriority
Chart.AutoScaling property (Project)
project-server
d7e1c8f7-8a2b-0474-1b4a-28a63605e929
06/08/2017
medium

Chart.AutoScaling property (Project)

True if Project scales a 3D chart so that it is closer in size to the equivalent 2D chart. Read/write Boolean.

Syntax

expression. AutoScaling

expression A variable that represents a Chart object.

Remarks

For auto-scaling to work, the RightAngleAxes property must also be True.

Example

In the following example, the chart is the first shape in the "3D chart" report. The example automatically scales the chart. The example should be run on a 3D chart.

Sub SetChartColor()
    Dim chartShape As Shape
    
    Set chartShape = ActiveProject.Reports("3D chart").Shapes(1)
    With chartShape
        .RightAngleAxes = True
        .AutoScaling = True
    End With
End Sub

Property value

BOOL

See also

Chart Object RightAngleAxes Property

[!includeSupport and feedback]