put graph in footer