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!

Candlestick annotations


I am trying to annotate each candlestick bar with a value that it holds in a panda dataframe.

For example my dataframe might have the columns (open, high, low, close, notes). I would like the ‘notes’ column (contains text) to appear on the plotly chart.

I understand how to make a single annotation, but how would I make several (or even hundreds) of annotations?


Plot invisible scatter points (opacity = 0) with each candlestick, and use the text array to make the array of notes show on hover (or as permanent text):

Also see: