ComponentOne FinancialChart for WPF
C1.WPF.Chart Namespace / C1FlexChart Class / HitTest Method / HitTest(Point,Boolean) Method
Point in control coordinates.
Whether to include connecting lines between data points. If testLines=false only data points are used for hit testing.



In This Topic
    HitTest(Point,Boolean) Method
    In This Topic
    Gets a HitTestInfo object with information about the specified point.
    Syntax
    'Declaration
     
    
    Public Overloads Shadows Function HitTest( _
       ByVal pt As Point, _
       ByVal testLines As Boolean _
    ) As HitTestInfo
    'Usage
     
    
    Dim instance As C1FlexChart
    Dim pt As Point
    Dim testLines As Boolean
    Dim value As HitTestInfo
     
    value = instance.HitTest(pt, testLines)
    public new HitTestInfo HitTest( 
       Point pt,
       bool testLines
    )
    public:
    new HitTestInfo^ HitTest( 
       Point pt,
       bool testLines
    ) 

    Parameters

    pt
    Point in control coordinates.
    testLines
    Whether to include connecting lines between data points. If testLines=false only data points are used for hit testing.

    Return Value

    A HitTestInfo object with information about the point.
    See Also