ASP.NET Core 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

    Properties

    Constructor

    constructor

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

    Initializes a new instance of the HitTestInfo class.

    Parameters
    Optional

    The chart element.

    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