# Handling Missing Data

## Content



If one coordinate for a data point is set to a special value known as the hole value, the chart treats the data point as a missing value, and does not display it on the chart. This hole value is specified by the [Hole](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSet.Hole.html) property of the [Chart3DDataSet](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSet.html) object.

For example, the following code treats the point in the third row and first column as a missing value:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Dim gridset As Chart3DDataSetGrid
gridset = C1Chart3D1.ChartGroups(0).ChartData.SetGrid
With gridset
  .Hole = 999.1
  .Item(0, 2) = 999.1
End With                                        
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
Chart3DDataSetGrid gridset = C1Chart3D1.ChartGroups[0].ChartData.SetGrid;
gridset.Hole = 999.1f;
gridset[0,2] = 999.1f;
```

DOC-DETAILS-TAG-CLOSE

## See Also

[Grid and Irregular Grid Data](/componentone/docs/win/online-chart3d/3ddata/gridandirregulargrid)