fit all of graph