Changing Data Values
To change a data value displayed in the chart, all you need to do is set its Value property. For example, the following statement changes the value of the point in the third row and second column to 3.14159:
Chart3D1.ChartGroups(1).ElevationData.Value(3, 2) = 3.14159