If you accidentally delete a line, you can use the 'Undo' button at the top of the chart to restore the deleted line.