2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / ChartGroup Class / DataIndexToCoord Method
Series index of the data point.
Point index of the data point.
X client coordinate.
Y client coordinate.

In This Topic
    DataIndexToCoord Method
    In This Topic
    Returns the client coordinates of the specified data point.
    Syntax
    'Declaration
     
    Public Function DataIndexToCoord( _
       ByVal SeriesIndex As System.Integer, _
       ByVal PointIndex As System.Integer, _
       ByRef XCoord As System.Integer, _
       ByRef YCoord As System.Integer _
    ) As System.Boolean
    public System.bool DataIndexToCoord( 
       System.int SeriesIndex,
       System.int PointIndex,
       ref System.int XCoord,
       ref System.int YCoord
    )

    Parameters

    SeriesIndex
    Series index of the data point.
    PointIndex
    Point index of the data point.
    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