JavaScript Chart - Axis Label Formats Date (D MMM, YY)

VIEW MORE FEATURES
SAVE
VIEW HTML
EDIT ON CODEPEN
In this JavaScript chart example, the formatter attribute of the <DateTimeAxis> element is set to the identifier of the <DateFormatter> element in which the corresponding date format is set.
<DateFormatter id="dateFmt" formatString="D MMM, YY"/>
...
<DateTimeAxis id="hAxis" dataUnits="days" labelUnits="days" interval="4" formatter="{dateFmt}" alignLabelsToUnits="false" displayLocalTime="true"/>