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

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

    Parameters

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

    Return Value

    The return value indicates successful calculation.
    See Also