struggling with that few houres now -trying to compare sellings of a company of two years(2015,2016) - the problem is that I can not sort it with Date beacuse then ofcourse 2016 will come after 2015 -and I want them to 'overlapping' I fixed that issue with that:
let d = new Date(null,deilyResults[i].date.month - 1, deilyResults[i].date.day);
-so I set 'year' to null -but that automaticly change year to "1900" which result in incorrect data in tooltip:
what is the correct way to do that in this case ?