Is there anyway to draw a vertical line or bar on scatter chart?

I want to build a website by dash/plotly that using to track the events. I want to draw a chart in time series as following picture. However, I don’t know how to draw vertical line at the time of the event, I tried “markers+lines” but it connects scatter point together.