For grid and irregular grid data, the Chart3DdataSetGridandChart3DDataSetIrGrid objects define the following properties that control the data to be displayed in the chart:
• The RowCount and ColumnCount properties define the number of rows and columns of data.
• The RowOrigin and ColumnOrigin properties specify the origins of the X-axis and Y-axis respectively.
•Regular grid: RowDelta and ColumnDelta are properties that specify the space between neighboring rows and columns.
•Irregular grid: RowDeltaArray and ColumnDeltaArray are indexed properties that specify the space between neighboring rows and columns.
• The SetGrid 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:
Zval = C1Chart3D1.ChartGroups(0).ChartData.SetGrid(2, 0)
' assigns the Z-coordinate of the point in the first row and third column to Zval.
•C#
Zval = C1Chart3D1.ChartGroups(0).ChartData.SetGrid(2, 0);
// assigns the Z-coordinate of the point in the first row and third column to Zval.