You must be logged in to post your query.
Home › Forums › Chart Support › When we use One Month AFter presnt
Hello can any one explain we are using demo version and we insert data for same month but graph chart is showing data in next month.
Like this using { x: new Date(2020, 07, 12), y: 60 }, but when display chart is showing August.
What is the issue I don’t understand.
@shima96160,
In JavaScript month starts from 0(January) and ends at 11(December). So while displaying they are incremented by 1. However, you can use ISO format to pass month from 1 to 12 (Example: “2015-03-25” is considered as March 25, 2015). You can adopt the one of the format to fit your requirements.
— Vishwas R Team CanvasJS
You must be logged in to reply to this topic. Login/Register