Visual Basic: MSChart Control

Data Property (MSChart)

See Also   Example   Applies To

Returns or sets a value that is inserted into the current data point in the data grid of a chart.

Syntax

object.Data [ = value]

The Data property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value Integer. The data point value.

Remarks

If the current data point already contains a value, it is replaced by the new value. The chart is redrawn to reflect the new value for the current data point.