Added a legend to the results graph.