[]
        
(Showing Draft Content)

DataPoint Class

DataPoint Class

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).

Heirarchy

Constructors

Properties

Constructors

constructor

  • Initializes a new instance of the DataPoint class.

    Parameters

    • Optional x: any

      X coordinate of the new DataPoint.

    • Optional y: any

      Y coordinate of the new DataPoint.

    Returns DataPoint

Properties

x

x: any

Gets or sets X coordinate value of this DataPoint.

y

y: any

Gets or sets Y coordinate value of this DataPoint.