displayed the bar graph; issue: cannot put the buttons in the right place now