I need show data from JSON in chart.js via Angularjs by months, but my date is in this format 2017-06-12T12:00:00.000Z. First I have problem how to group data by month name (June, July, August etc) if I have this format of date.
JSON
[
{"id":1,"date":"2017-06-12T12:00:00.000Z.","total":123},
{"id":2,"date":"2017-06-04T12:00:00.000Z.","total":100},
{"id":3,"date":"2017-08-29T12:00:00.000Z.","total":94}
]
And second how can I use Chart.js in the angularjs and put date sorted by name of months on x-axis and total in y-axis.