- made sure the legend stays on the graph