creating array of dates, plotting a test on the highchart