I’m trying to generate an image from a chart and want to show max and minimum points.
Created a custom annotation following a tutorial and here’s how it’s displayed
it moved outside and shifted inside chart area. Since it’s min/max points it’s dynamic and can be anywhere. Is there a way to make it floating show it’s always shown inside of chart area? Here’s my code:
fig.add_annotation( x=x[i], y=y[i], xref="x", yref="y", text=text, showarrow=True, font=dict( family="Courier New, monospace", size=12, color="#ffffff" ), align="center", ax=20, ay=30, bordercolor="#c7c7c7", borderwidth=2, borderpad=4, bgcolor="#ff7f0e", opacity=0.8 )
Maybe there’s a way to show standard tooltips without adding custom annotations like in this image? (but show for 2 or more points)
Thanks for help!