title | ms.service | ms.assetid | ms.date | ms.localizationpriority |
---|---|---|---|---|
Chart.PlotArea property (Project) |
project-server |
4d378a40-7417-1c1d-7424-9eb5cc7367c2 |
06/08/2017 |
medium |
Gets an Office.IMsoPlotArea object that represents the plot area of a chart. Read-only IMsoPlotArea.
expression.PlotArea
expression A variable that represents a Chart object.
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
IMSOPLOTAREA
[!includeSupport and feedback]