Hierarchy                Properties                Methods

Top  Previous  Next

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.








var df = new EJSC.DateFormatter({

               format_string: "YYYY-MM-DD"