Improvements to barchart.