ASP.NET MVC Controls
HitTestInfo Class
File
wijmo.chart.js
Module
wijmo.chart

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

Constructor

Properties

Constructor

constructor

constructor(chart: FlexChartBase, point: Point, element?: ChartElement): HitTestInfo

Initializes a new instance of the HitTestInfo class.

Parameters
Returns
HitTestInfo

Properties

chartElement

Gets the chart element at the specified coordinates.

Type
ChartElement

distance

Gets the distance from the closest data point.

Type
number

item

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

Type
any

point

Gets the point in control coordinates to which this HitTestInfo object refers to.

Type
Point

pointIndex

Gets the data point index at the specified coordinates.

Type
number

series

Gets the chart series at the specified coordinates.

Type
SeriesBase

x

Gets the x-value of the closest data point.

Type
any

y

Gets the y-value of the closest data point.

Type
any

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback