change the x axis for bar charts to be index not time