Rediger

Del via


Chart.Perspective property (Excel)

Returns or sets a Long value that represents the perspective for the 3D chart view.

Syntax

expression.Perspective

expression A variable that represents a Chart object.

Remarks

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

Example

This example sets the perspective of Chart1 to 70. The example should be run on a 3D chart.

Charts("Chart1").RightAngleAxes = False 
Charts("Chart1").Perspective = 70

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.