I am having a problem with dates in the X-axis of a line chart. I see the problem also exists in the documentation at https://canvasjs.com/docs/charts/basics-of-creating-html5-chart/formatting-date-time/
You will see that in the DATE TIME FORMATTING chart the third point is “23 Jul 12: 30” but the code in the “try it yourself window shows “{ x: new Date(2012, 06, 23), y: 30 }, ” for that point.
Why does the code show “06” (June) while the chart shows “Jul” (July)?
I have the same problem with my charts shows the month incremented by 1.