Displaying both grid and graph in the same view