Object Reference > Chart3DData Object > Chart3DData Methods > UpdateDataValue Method (Chart3DData) |
UpdateDataValue Method (Chart3DData)
Replaces data of a specified value with a new value. All values matching OldValue will be replaced with NewValue. Returns the number of replacements made.
Function UpdateDataValue(OldValue As Double, NewValue As Double) As Long
Part |
Type |
Description |
OldValue |
double |
The data to be replaced. |
NewValue |
double |
The value replacing the old data. |
Example
' Specify number of columns in elevation data
Chart3D1.ChartGroups(1).ElevationData.ColumnCount = 5
See Also