# Grid and Irregular Grid Data

## Content



For grid and irregular grid data, the [Chart3DDataSetGrid](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetGrid.html) and [Chart3DDataSetIrGrid](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetIrGrid.html) objects define the following properties that control the data to be displayed in the chart:

*   The [RowCount](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetGrid.RowCount.html) and ColumnCount properties define the number of rows and columns of data.
*   The [RowOrigin](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetGrid.RowOrigin.html) and [ColumnOrigin](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetGrid.ColumnOrigin.html) properties specify the origins of the X-axis and Y-axis respectively.
*   Regular grid: [RowDelta](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetGrid.RowDelta.html) and [ColumnDelta](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetGrid.ColumnDelta.html) are properties that specify the space between neighboring rows and columns.
*   Irregular grid: [RowDeltaArray](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetIrGrid.RowDeltaArray.html) and [ColumnDeltaArray](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DDataSetIrGrid.ColumnDeltaArray.html) are indexed properties that specify the space between neighboring rows and columns.
*   The [SetGrid](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DData.SetGrid.html) property specifies the Z-coordinate of a particular data point. This property is indexed by row and column.

The following statement assigns the Z-coordinate of the point in the first row and third column to Zval:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in Visual Basic

DOC-SUMMARY-TAG-CLOSE

```vbnet
Zval = C1Chart3D1.ChartGroups(0).ChartData.SetGrid(2, 0)
' assigns the Z-coordinate of the point in the first row and third column to Zval.
```

DOC-DETAILS-TAG-CLOSE

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
Zval = C1Chart3D1.ChartGroups(0).ChartData.SetGrid(2, 0);
// assigns the Z-coordinate of the point in the first row and third column to Zval.
```

DOC-DETAILS-TAG-CLOSE

## See Also

[Changing Data Values](/componentone/docs/win/online-chart3d/3ddata/changingdatavalues)