Update BarGraph.java

need to add this?
shouldUpdata=true,when Bargraph#setBars