[]
Picks the displayed data closest to the given pixel coordinate.
public bool CoordToDataIndex(int sx, int sy, ref int columnIndex, ref int rowIndex)
| 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.