Home forums Report Bugs Last day of month doubles up as 1st of next

  • This topic has 2 replies, 2 voices, and was last updated 1 year ago by tyler.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #26672

    For some reason 8/31 (month/day) appears on the chart as 9/1.

    Fiddle: https://jsfiddle.net/8tq52y7j/



    In JavaScript month index starts from 0(January) and ends at 11(December) because of which 8/31 (31st of September) is considered as 9/1 (1st of October). Please refer this article for more information.

    Vishwas R
    Team CanvasJS


    This is why two sets of eye’s are always better than one! Thank you :)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.