fix bar chart rendering

Change-Id: I9751be9a2006ae743487a2f72bd9cd02ca136fd6