Added legend to the bottom of the graph