2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / ChartGroup Class / CoordToDataCoord Method / CoordToDataCoord(Int32,Int32,Double,Double) Method
X client coordinate.
Y client coordinate.
X data coordinate.
Y data coordinate.

In This Topic
    CoordToDataCoord(Int32,Int32,Double,Double) Method
    In This Topic
    Calculates the data coordinates of a point in the PlotArea given chart client coordinates.
    Syntax
    'Declaration
     
    Public Overloads Function CoordToDataCoord( _
       ByVal XCoord As System.Integer, _
       ByVal YCoord As System.Integer, _
       ByRef XDataCoord As System.Double, _
       ByRef YDataCoord As System.Double _
    ) As System.Boolean
    public System.bool CoordToDataCoord( 
       System.int XCoord,
       System.int YCoord,
       ref System.double XDataCoord,
       ref System.double YDataCoord
    )

    Parameters

    XCoord
    X client coordinate.
    YCoord
    Y client coordinate.
    XDataCoord
    X data coordinate.
    YDataCoord
    Y data coordinate.

    Return Value

    The return value indicates successful calculation.
    Remarks
    Mouse coordinates are given in client coordinates.
    See Also