Minor changes on the bar-chart generation