Changes for showing bar chart