Added in a check to see if there was data

Bar graph now generates data for next and previous year.

There is a bug where the months do not line up correctly. If I have 8
months of data from last year and 4months from next year both sets will
show starting at month 1.