[]
Returns series and point indices and distance to the closest data point in the group given client coordinates.
public bool CoordToDataIndex(int XCoord, int YCoord, CoordinateFocusEnum focus, ref int SeriesIndex, ref int PointIndex, ref int Distance)
Type | Name | Description |
---|---|---|
int | XCoord | X client coordinate. |
int | YCoord | Y client coordinate. |
CoordinateFocusEnum | focus | Focus parameter indicates which coordinate is used. |
int | SeriesIndex | Data series index of the closest data point. |
int | PointIndex | Data point index of the closest data point. |
int | Distance | Distance to the closest data point. |
Type | Description |
---|---|
bool | The return value indicates successful calculation. |
Mouse coordinates are given in client coordinates.