This video shows how to replace line graph legends by adding data labels to one data point of each line, usually the last data point, that contains the series name.
Below you can download the Excel file shown at the start of the video so you can practice this technique on your own.