RangeFromPoint Method

                  Applies To

Returns the most detailed object at the specified location in a chart workspace. For example, if you specify the x and y coordinates of a point, the corresponding WCPoint object is returned, even though a series also exists at those coordinates.

Syntax

expression.RangeFromPoint(X, Y)

expression   An expression that returns a ChartSpace object.

X   Required Integer. Specifies the x coordinate of the object.

Y   Required Integer. Specifies the y coordinate of the object.