Chart.PlotVisibleOnly Property (Project)

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

Property value


See also

Chart Object