[]
        
(Showing Draft Content)

C1.WinUI.Chart.FlexChart.HitTest

HitTest Method

HitTest(Point)

Gets a HitTestInfo object with information about the specified point.

Declaration
public override HitTestInfo HitTest(Point pt)
Parameters
Type Name Description
Point pt

Point in control coordinates.

Returns
Type Description
HitTestInfo

A HitTestInfo object with information about the point.

Overrides

HitTest(Point, bool)

Gets a HitTestInfo object with information about the specified point.

Declaration
public HitTestInfo HitTest(Point pt, bool testLines)
Parameters
Type Name Description
Point pt

Point in control coordinates.

bool testLines

Whether to include connecting lines between data points. If testLines=false only data points are used for hit testing.

Returns
Type Description
HitTestInfo

A HitTestInfo object with information about the point.