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(x?: any, y?: any): DataPoint
Initializes a new instance of the DataPoint class.
X coordinate of the new DataPoint.
Y coordinate of the new DataPoint.