ComponentOne 3D Chart for WinForms
C1.Win.C1Chart3D.4.5.2 Assembly / C1.Win.C1Chart3D Namespace / Chart3DLegend Class / SeriesFromCoord Method
X client coordinate in pixels.
Y client coordinate in pixels.
Series index.

In This Topic
    SeriesFromCoord Method
    In This Topic
    Gets the index of the legend series entry closest to the specified coordinates.
    Syntax
    'Declaration
     
    Public Function SeriesFromCoord( _
       ByVal x As System.Integer, _
       ByVal y As System.Integer, _
       ByRef seriesIndex As System.Integer _
    ) As System.Boolean
    public System.bool SeriesFromCoord( 
       System.int x,
       System.int y,
       ref System.int seriesIndex
    )

    Parameters

    x
    X client coordinate in pixels.
    y
    Y client coordinate in pixels.
    seriesIndex
    Series index.

    Return Value

    This method returns true when a legend series entry exists at the specified coordinate. The seriesIndex is set as it is passed by reference.
    See Also