To change a data value displayed in the chart, set its Item property. For example, the following statement changes the value of the point in the third row and second column to 3.14159:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
C1Chart3D1.ChartGroups(0).ChartData.SetGrid(1, 2) = 3.14159 |
To write code in C#
C# |
Copy Code
|
---|---|
C1Chart3D1.ChartGroups[0].ChartData.SetGrid[1, 2] = 3.14159; |