Skip to content

Latest commit

 

History

History
50 lines (30 loc) · 1.07 KB

Project.chart.plotarea.md

File metadata and controls

50 lines (30 loc) · 1.07 KB
title ms.service ms.assetid ms.date ms.localizationpriority
Chart.PlotArea property (Project)
project-server
4d378a40-7417-1c1d-7424-9eb5cc7367c2
06/08/2017
medium

Chart.PlotArea property (Project)

Gets an Office.IMsoPlotArea object that represents the plot area of a chart. Read-only IMsoPlotArea.

Syntax

expression.PlotArea

expression A variable that represents a Chart object.

Example

The following example sets the inside height of the plot area 30 points greater than it was set previously.

Sub SetChartPlotAreaHeight()
    Dim chartShape As Shape
    Dim reportName As String
    Dim insideHeight As Double
    
    reportName = "Simple scalar chart"
    Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
    
    insideHeight = chartShape.Chart.PlotArea.InsideHeight
    chartShape.Chart.PlotArea.InsideHeight = insideHeight + 30
End Sub

Property value

IMSOPLOTAREA

See also

Chart Object

[!includeSupport and feedback]