Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 1.16 KB

Project.chart.perspective.md

File metadata and controls

54 lines (31 loc) · 1.16 KB
title ms.service ms.assetid ms.date ms.localizationpriority
Chart.Perspective property (Project)
project-server
a6a07c7a-ca79-d6aa-e6ef-1aa26b716852
06/08/2017
medium

Chart.Perspective property (Project)

Gets or sets a value that represents the perspective for the 3D chart view. Read/write Long.

Syntax

expression.Perspective

expression A variable that represents a Chart object.

Remarks

The value of the Perspective property must be between 0 and 100. Perspective is ignored if the RightAngleAxes property is True.

Example

The following example sets the perspective of the chart to 20. The example should be run on a 3D chart.

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

Property value

INT

See also

Chart Object

[!includeSupport and feedback]