5.20231.904
wijmo.chart Class HitTestInfo Wijmo API Class

HitTestInfo Class

Contains information about a part of a FlexChart control at a specified page coordinate.

Heirarchy

  • HitTestInfo

Constructors

constructor

Properties

chart

Gets the FlexChartBase that owns this HitTestInfo.

chartElement

chartElement: ChartElement

Gets the chart element at the specified coordinates.

distance

distance: number

Gets the distance to the closest data point.

groupIndex

groupIndex: number

Gets the group index for the closest data point.

item

item: any

Gets the data object that corresponds to the closest data point.

point

point: Point

Gets the point, in control coordinates, that this HitTestInfo refers to.

pointIndex

pointIndex: number

Gets the data point index at the specified coordinates.

series

series: SeriesBase

Gets the chart series at the specified coordinates.

x

x: any

Gets the x-value of the closest data point.

y

y: any

Gets the y-value of the closest data point.