add legend to age graph