Simplification of bar chart code
Merge pull request #7 from hrj/simplification

Simplification of bar chart code