Added max to range of graph