I am trying to add a vertical line in a graph that displays text if you hover it.
A vertical line that always goes from top to bottom can be done with shapes and setting yref=‘paper’. But unfortunately you cant add hovertext to shapes.
Then I tried to plot a vertical line. With that you can set up hover text, but then it doesnt scale infinitely if you zoom out for example.
Is there any way to get both, hovertext and a vertical line over the graph?