add_event function

Add eventlines to the chart