Updated to use a time scale for the x axis

This doesn't look good yet. The ticks in the axis should be in the
middle of the bar and the last bar should be displayed completely.