[]
Picks the displayed data closest to the given pixel coordinate.
public bool CoordToDataIndex(int sx, int sy, ref int columnIndex, ref int rowIndex)
Public Function CoordToDataIndex(sx As Integer, sy As Integer, ByRef columnIndex As Integer, ByRef rowIndex As Integer) As Boolean
| Type | Name | Description |
|---|---|---|
| int | sx | Client x coordinate in pixels. |
| int | sy | Client y coordinate in pixels. |
| int | columnIndex | Column index(Series index for point data layout). |
| int | rowIndex | Row index(Point index for point data layout). |
| Type | Description |
|---|---|
| bool | Boolean result of coordinate conversion. |
For point data layout the column parameter relates to series index and the row parameter relates to point index.