add line graph legend