Add the flatten option for bar chart with numbers

Module appears to work in exactly the same way after doing this
Merge pull request #844 from alphagov/feature/flat-data-for-bar-chart-with-numbers

Add the flatten option for bar chart with numbers