added function for plotting normed bar charts by custom groups of dates