I get array of date from json as 1420185600000,1420531200000,1420617600000,1420704000000,1420790400000,1420876800000. How do I format it to show the correct date in the XAxis l
arrayOfDatesFromJson = arrayOfDatesFromJson.map(function (element) { return new Date(element); });