BarChart refactor.