Added the legend to the bottom of the graph.