Added colour legend to graphs