ASP.NET MVC Controls | ComponentOne
In This Topic
    HitTestInfo Class
    In This Topic
    File
    wijmo.chart.js
    Module
    wijmo.chart

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

    Constructor

    constructor

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

    Initializes a new instance of the HitTestInfo class.

    Parameters
    Returns
    HitTestInfo

    Properties

    chart

    Gets the FlexChartBase that owns this HitTestInfo.

    Type
    FlexChartBase

    chartElement

    Gets the chart element at the specified coordinates.

    Type
    ChartElement

    distance

    Gets the distance to the closest data point.

    Type
    number

    groupIndex

    Gets the group index for 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, that this HitTestInfo 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