You must be logged in to post your query.
Home › Forums › Chart Support › Month definition for a time Xaxis
Tagged: moth value for axis, time Xaxis
Hello; I just “discovered” that for a canvasJS time Xaxis the months are to be entered as 0..11 and not as usual 1..12. Is that wanted or a “coincidence”. This means that an adjustment is necessary every time date values are taken from other sources.
@franzda,
In JavaScript month index starts from 0(January) and ends at 11(December). For more information please refer to this StackOverflow page.
____ Shashi Ranjan Team CanvasJS
You must be logged in to reply to this topic. Login/Register