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

    Class that represents a data point (with x and y coordinates).

    X and Y coordinates can be specified as a number or a Date object(time-based data).

    Constructor

    Properties

    Constructor

    constructor

    constructor(x?: any, y?: any): DataPoint
    

    Initializes a new instance of the DataPoint class.

    Parameters
    • x: any
    Optional

    X coordinate of the new DataPoint.

    Y coordinate of the new DataPoint.

    Returns
    DataPoint

    Properties

    x

    Gets or sets X coordinate value of this DataPoint.

    Type
    any

    y

    Gets or sets Y coordinate value of this DataPoint.

    Type
    any