add bar chart to graph controller