Visual Basic: MSChart Control

Offset Property

See Also   Example   Applies To

Returns or sets the distance that a chart element is offset or pulled away from its default location.

Syntax

*object.*Offset [ = offset ]

The Offset property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
offset For the DataPoint object, this is an integer describing the offset distance. Offset is measured in inches or centimeters depending upon your default Windows settings.

For the DataPointLabel and Shadow objects, this is a reference to a Coor object that describe the x and y values of the offset.

Remarks

For the DataPointLabel object, this property indicates the distance that a data point label is offset or pulled away from one of the predefined (standard) label positions. The offset is added to the position calculated for the point based on the DataPointLabel object's LocationType setting.