C1.Win.C1Chart3D.4.8 Assembly / C1.Win.C1Chart3D Namespace / Chart3DData Class / CoordToDataIndex Method
Client x coordinate in pixels.
Client y coordinate in pixels.
Column index(Series index for point data layout).
Row index(Point index for point data layout).

In This Topic
CoordToDataIndex Method
In This Topic
Picks the displayed data closest to the given pixel coordinate.
Syntax
'Declaration
 
Public Function CoordToDataIndex( _
   ByVal sx As System.Integer, _
   ByVal sy As System.Integer, _
   ByRef columnIndex As System.Integer, _
   ByRef rowIndex As System.Integer _
) As System.Boolean
 

Parameters

sx
Client x coordinate in pixels.
sy
Client y coordinate in pixels.
columnIndex
Column index(Series index for point data layout).
rowIndex
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