Returns point index and distance to the closest data element of specified series in the group given client coordinates.
'Declaration
Public Function CoordToPointIndex( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As PlotElementEnum, _
ByVal As System.Integer, _
ByRef As System.Integer, _
ByRef As System.Integer _
) As System.Boolean
public System.bool CoordToPointIndex(
System.int ,
System.int ,
PlotElementEnum ,
System.int ,
ref System.int ,
ref System.int
)
Parameters
- XCoord
- X client coordinate.
- YCoord
- Y client coordinate.
- element
- Element parameter indicates which plot element is used.
- SeriesIndex
- Data series index.
- PointIndex
- Data point index of the closest data point.
- Distance
- Distance to the closest data point.
Return Value
The return value indicates successful calculation.