ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Chart Assembly / GrapeCity.ActiveReports.Chart Namespace / SharpGraph Class / HitTest Method
The specified X axis coordinate.
The specified Y axis coordinate.

In This Topic
    HitTest Method
    In This Topic
    Returns information about the chart item that is placed in the specified coordinates.
    Syntax
    'Declaration
     
    Public Function HitTest( _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) As HitTest
    public HitTest HitTest( 
       int x,
       int y
    )

    Parameters

    x
    The specified X axis coordinate.
    y
    The specified Y axis coordinate.

    Return Value

    A reference to HitTestInfo or null if the item is not found.
    Remarks
    Please consider using UIOptions.ForceHitTesting before calling the HitTest method.
    See Also