[]
        
(Showing Draft Content)

C1.Win.C1Chart3D.Chart3DData.CoordToDataIndex

CoordToDataIndex Method

CoordToDataIndex(int, int, ref int, ref int)

Picks the displayed data closest to the given pixel coordinate.

Declaration
public bool CoordToDataIndex(int sx, int sy, ref int columnIndex, ref int rowIndex)
Parameters
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).

Returns
Type Description
bool

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