score:1

It is correct because in Highcharts name of months by default starts from 0 to 11. from 0- January to 11- December.

enter image description here

So for the month of may you should write 4 instead of 5.

score:1

Date will accept the month value 0 - 11. 0 is the january and 11 is the December. So 6 referes to the June.

Check the documentation of javascript date object


Related Query

More Query from same tag