Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Permanent hover text / point labels

Hi –

I’m new to Plotly, so forgive me if this has been asked before. (I searched and didn’t find anything.)

I’m creating a line chart in the web app and I notice that the value for each point appears when I hover over it. How can I make that permanent, so it always shows up for every point, and most importantly, makes it onto the exported PNG or PDF?

Thanks,
Jess

You can achieve by using Annotations

Example:

You can format the annotation as you wish. It has several options.

Hope it helps!

1 Like

Thanks Dilip! But I’m just using the web app, not Javascript…