[]
Returns series index and distance to the closest data element in the group given client coordinates.
public bool CoordToSeriesIndex(int XCoord, int YCoord, PlotElementEnum element, ref int SeriesIndex, ref int Distance)
Public Function CoordToSeriesIndex(XCoord As Integer, YCoord As Integer, element As PlotElementEnum, ByRef SeriesIndex As Integer, ByRef Distance As Integer) As Boolean
| Type | Name | Description |
|---|---|---|
| int | XCoord | X client coordinate. |
| int | YCoord | Y client coordinate. |
| PlotElementEnum | element | Element parameter indicates which plot element is used. |
| int | SeriesIndex | Data series index. |
| int | Distance | Distance to the closest data point. |
| Type | Description |
|---|---|
| bool | The return value indicates successful calculation. |
Mouse coordinates are given in client coordinates.