title | ms.service | ms.assetid | ms.date | ms.localizationpriority |
---|---|---|---|---|
Chart.DisplayBlanksAs property (Project) |
project-server |
241fcca1-b736-799f-9f53-17751622e1e6 |
06/08/2017 |
medium |
Gets or sets the way that blank cells are plotted on a chart. Can be one of the Office.XlDisplayBlanksAs constants. Read/write Long.
expression.DisplayBlanksAs
expression A variable that represents a Chart object.
The following example hides blank cells in the chart.
Sub HideBlankCells()
Dim chartShape As Shape
Dim reportName As String
reportName = "Simple scalar chart"
Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
chartShape.Chart.DisplayBlanksAs = Office.XlDisplayBlanksAs.xlNotPlotted
End Sub
XLDISPLAYBLANKSAS
[!includeSupport and feedback]