Add bar chart
Don't fix the dimension in anonymous functions in initChartsCommon
Reset the colors in updateChartCommon

This will be necessary with the option to change the color scale