Fix misalignment of line chart ticks with x axis dates

When plotting a time series there's a misalignment of plotted line ticks with the x-axis time scale. 
This added line fixes this error for me. 
I don't know how it will be have when plotting non-time series.