|
Use this formatter when you want to display date values in your charts. It can be applied to the chart axis, series hints and cursor position labels by assigning the appropriate formatter property.
Dates are supported in UTC format by specifying a JavaScript date (i.e. number of milliseconds since midnight January 01, 1970) for a point value.
See the format_string property for information on supported date formatting options.
Constructor
EJSC.DateFormatter([options])
Example
var df = new EJSC.DateFormatter({ format_string: "YYYY-MM-DD" }); |