changes for bar chart