[]
        
(Showing Draft Content)

C1.Win.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

Includes connecting line to hit testing.

Returns
Type Description
HitTestInfo

A HitTestInfo object with information about the point.

HitTest(Point, MeasureOption, int)

Gets a HitTestInfo object with information about the specified point.

Declaration
public HitTestInfo HitTest(Point pt, MeasureOption options, int seriesIndex = -1)
Parameters
Type Name Description
Point pt

Point in control coordinates.

MeasureOption options

Measure options.

int seriesIndex

Optional Series index. If index is specified the method returns information about the closest data point of the specified series.

Returns
Type Description
HitTestInfo