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

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

    Parameters

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

    Return Value

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