2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / Legend Class / SeriesFromCoord Method
X client coordinate.
Y client coordinate.
Group index.
Series index.

In This Topic
    SeriesFromCoord Method
    In This Topic
    Obtains the group and series indices of the legend entry nearest to the specified client coordinates. Mouse coordinates are specified in client coordinates.
    Syntax
    'Declaration
     
    Public Function SeriesFromCoord( _
       ByVal XCoord As System.Integer, _
       ByVal YCoord As System.Integer, _
       ByRef GroupIndex As System.Integer, _
       ByRef SeriesIndex As System.Integer _
    ) As System.Boolean
    public System.bool SeriesFromCoord( 
       System.int XCoord,
       System.int YCoord,
       ref System.int GroupIndex,
       ref System.int SeriesIndex
    )

    Parameters

    XCoord
    X client coordinate.
    YCoord
    Y client coordinate.
    GroupIndex
    Group index.
    SeriesIndex
    Series index.

    Return Value

    The return value indicates successful calculation.
    See Also