A JavaScript helper to plot data.
In this documentation, the following types are used:
string: a JavaScript string (MDN: string).number: a JavaScript number (MDN: number).length: a JavaScript number that is greater than or equal to 0.cssColor: a CSS color (MDN: color).object: a JavaScript object (MDN: object).array<type>: a JavaScript array that only contains objects of the type type (MDN: array).HTMLCanvasElement: an instance of the HTML canvas element (MDN: HTMLCanvasElement).CanvasRenderingContext2D: a JavaScript 2D canvas rendering context (MDN: CanvasRenderingContext2D).(A a, ...) => T: a function that takes zero or more arguments of type A or other types and returns a value of type TAxis: an instance of the Axis class.Diagram: an instance of the Diagram class.Point: an instance of the Point class.PointList: an instance of the PointList class.