Picks the displayed data closest to the given pixel coordinate.

Namespace:  C1.Win.C1Chart3D
Assembly:  C1.Win.C1Chart3D.2 (in C1.Win.C1Chart3D.2.dll)

Syntax

C#
public bool CoordToDataIndex(
	int sx,
	int sy,
	ref int columnIndex,
	ref int rowIndex
)
Visual Basic
Public Function CoordToDataIndex ( _
	sx As Integer, _
	sy As Integer, _
	ByRef columnIndex As Integer, _
	ByRef rowIndex As Integer _
) As Boolean

Parameters

sx
Type: System..::..Int32
Client x coordinate in pixels.
sy
Type: System..::..Int32
Client y coordinate in pixels.
columnIndex
Type: System..::..Int32%
Column index(Series index for point data layout).
rowIndex
Type: System..::..Int32%
Row index(Point index for point data layout).

Return Value

Boolean result of coordinate conversion.

Remarks

For point data layout the column parameter relates to series index and the row parameter relates to point index.

See Also