The coordinates of specific points are accessible via the properties of their respective Chart3DPoint structure. To retrieve the Chart3DPoint for a coordinate, use the Item method of the Chart3DPointSeries. The following code sets the coordinates of the third point of the second series to (1, 1, 1):
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1Chart3D1.ChartGroups(0).ChartData.SetPoint(1,2) = New Chart3DPoint(1,1,1) |
To write code in C#
C# |
Copy Code
|
---|---|
C1Chart3D1.ChartGroups[0].ChartData.SetPoint[1,2] = new Chart3DPoint(1,1,1); |