Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1020 Bytes

Excel.Chart.Elevation.md

File metadata and controls

42 lines (24 loc) · 1020 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Chart.Elevation property (Excel)
vbaxl10.chm149106
vbaxl10.chm149106
Excel.Chart.Elevation
44dde783-5bf7-7c5c-475b-0666337249d7
04/16/2019
medium

Chart.Elevation property (Excel)

Returns or sets the elevation of the 3D chart view, in degrees. Read/write Long.

Syntax

expression.Elevation

expression A variable that represents a Chart object.

Remarks

The chart elevation is the height at which you view the chart, in degrees. The default is 15 for most chart types. The value of this property must be between -90 and 90, except for 3D bar charts, where it must be between 0 and 44.

Example

This example sets the chart elevation of Chart1 to 34 degrees. The example should be run on a 3D chart (the Elevation property fails on 2D charts).

Charts("Chart1").Elevation = 34

[!includeSupport and feedback]