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.


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