Changed x-axis in bar chart to a time dimension rather than categorical one