[]
        
(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)
Public Overrides Function HitTest(pt As Point) As HitTestInfo
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)
Public Function HitTest(pt As Point, testLines As Boolean) As HitTestInfo
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)
Public Function HitTest(pt As Point, options As MeasureOption, Optional seriesIndex As Integer = -1) As HitTestInfo
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