Table of contents
TOC
折叠目录
展开目录

Chart.PlotVisibleOnly 属性 (项目)Chart.PlotVisibleOnly Property (Project)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

如此如果只绘制可见单元格。如果可见和隐藏单元格的绘制。读/写boolean 类型的值True if only visible cells are plotted. False if both visible and hidden cells are plotted. Read/write Boolean.

语法Syntax

表达式PlotVisibleOnlyexpression. 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

其他资源Other resources

Chart 对象Chart Object

© 2018 Microsoft