Home Forums Report Bugs minutedata gives monthissue Reply To: minutedata gives monthissue

#4630

Tim,

I looked into the data and here is the problem. In JavaScript, Month Value Starts from 0 and ends at 11. I know this is counter intuitive, but that is how it is in JS.

http://www.w3schools.com/jsref/jsref_getmonth.asp

So what is happening is that Month 05 in your data is actually June. As there is no 31st in June, it is being considered as July 1st. Because of this the chart is starting from July 01 23:58 and then moving on to July 01 00:00. This is reason for the oblique line.

Just reduce the month values by one (keeping the range 0-11) and it should work fine.

Tip: You might also want to look at Data/Time formatting if you want Midnight to be displayed as 00 instead of 12.

Thanks for reporting it though. I actually found another bug related to toolTip instead and have fixed the problem. I’ll email you the newer version soon after the doughnut issue is resolved. Public release is couple of days away.


Regards,
Sunil Urs