Gets the index of the legend series entry closest to the specified coordinates.
public System.bool SeriesFromCoord(
System.int ,
System.int ,
ref System.int
)
'Declaration
Public Function SeriesFromCoord( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByRef As System.Integer _
) As System.Boolean
Parameters
- x
- X client coordinate in pixels.
- y
- Y client coordinate in pixels.
- seriesIndex
- Series index.
Return Value
This method returns true when a legend series entry exists at the specified coordinate. The seriesIndex is set as it is passed by reference.