Commiting after modifying the bar chart\