You must be logged in to post your query.
Home › Forums › Chart Support › Uneven date intervals in x-axis
Is it possible to use uneven date intervals (i.e. last day of month), when x-axis values are Date objects? As seen in this JS Fiddle, doing so causes incorrect dates to show: https://jsfiddle.net/q8Lcbo73/
@plotter,
Passing date values as a valid JavaScript date-object should also work fine in your case. Please take a look at this updated JSFiddle for the same.
Basically, in JavaScript month index starts from 0(January) and ends at 11(December). For more information please refer to this Stack Overflow page.
— Shashi Ranjan Team CanvasJS
You must be logged in to reply to this topic. Login/Register