title | keywords | f1_keywords | ms.service | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|---|
Chart.PlotVisibleOnly property (Project) |
vbapj.chm131628 |
|
project-server |
0745cf62-2625-3f5f-3a33-97709cabba33 |
06/08/2017 |
medium |
True if only visible cells are plotted. False if both visible and hidden cells are plotted. Read/write Boolean.
expression.PlotVisibleOnly
expression A variable that represents a Chart object.
The following example causes Project to plot only visible cells in the chart.
Sub PlotVisible()
Dim chartShape As Shape
Dim reportName As String
reportName = "Simple scalar chart"
Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
Debug.Print chartShape.Chart.PlotVisibleOnly
chartShape.Chart.PlotVisibleOnly = True
End Sub
BOOL
[!includeSupport and feedback]