Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.05 KB

Project.chart.plotvisibleonly.md

File metadata and controls

52 lines (32 loc) · 1.05 KB
title keywords f1_keywords ms.service ms.assetid ms.date ms.localizationpriority
Chart.PlotVisibleOnly property (Project)
vbapj.chm131628
vbapj.chm131628
project-server
0745cf62-2625-3f5f-3a33-97709cabba33
06/08/2017
medium

Chart.PlotVisibleOnly property (Project)

True if only visible cells are plotted. False if both visible and hidden cells are plotted. Read/write Boolean.

Syntax

expression.PlotVisibleOnly

expression A variable that represents a Chart object.

Example

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

BOOL

See also

Chart Object

[!includeSupport and feedback]