Add legend to contributions over time chart