Fixed the bar chart. Fixes #5