[]
        
(Showing Draft Content)

C1.Win.C1Chart.ChartGroup.CoordToDataCoord

CoordToDataCoord Method

CoordToDataCoord(int, int, ref float, ref float)

Calculates the data coordinates of a point in the PlotArea given chart client coordinates.

Declaration
public bool CoordToDataCoord(int XCoord, int YCoord, ref float XDataCoord, ref float YDataCoord)
Parameters
Type Name Description
int XCoord

X coordinate.

int YCoord

Y coordinate.

float XDataCoord

X data coordinate.

float YDataCoord

Y data coordinate.

Returns
Type Description
bool

The return value indicates successful calculation.

Remarks

Mouse coordinates are given in client coordinates.

See Also

CoordToDataCoord(int, int, ref double, ref double)

Calculates the data coordinates of a point in the PlotArea given chart client coordinates.

Declaration
public bool CoordToDataCoord(int XCoord, int YCoord, ref double XDataCoord, ref double YDataCoord)
Parameters
Type Name Description
int XCoord

X client coordinate.

int YCoord

Y client coordinate.

double XDataCoord

X data coordinate.

double YDataCoord

Y data coordinate.

Returns
Type Description
bool

The return value indicates successful calculation.

Remarks

Mouse coordinates are given in client coordinates.

See Also