Added a hack to BarGraph. Now it works