Bar chart working nicely in static form