ComponentOne FinancialChart for WPF
C1.WPF.Chart Namespace / Series Class / HitTest Method
Point in control's coordinates.
Whether to test distance from connecting lines.



In This Topic
    HitTest Method (Series)
    In This Topic
    Performs hit testing for the series.
    Syntax
    'Declaration
     
    
    Public Overridable Function HitTest( _
       ByVal point As Point, _
       Optional ByVal testLines As Boolean _
    ) As HitTestInfo
    'Usage
     
    
    Dim instance As Series
    Dim point As Point
    Dim testLines As Boolean
    Dim value As HitTestInfo
     
    value = instance.HitTest(point, testLines)
    public virtual HitTestInfo HitTest( 
       Point point,
       bool testLines
    )
    public:
    virtual HitTestInfo^ HitTest( 
       Point point,
       bool testLines
    ) 

    Parameters

    point
    Point in control's coordinates.
    testLines
    Whether to test distance from connecting lines.

    Return Value

    Hit test result.
    See Also