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

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

    Parameters

    XCoord
    X client coordinate.
    YCoord
    Y client coordinate.
    GroupIndex
    Group index.
    TrendLineIndex
    TrendLine index.

    Return Value

    The return value indicates successful calculation.
    See Also