✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Placing annotation or hoverinfo in the middle of a bar chart's trace?

yanchor places annotation inside/outside the end of a trace, hoverinfo also plots at the end.

Is there a way to plot some sort of label/annotation to the middle of a section of bar chart?


Not at the moment unfortunately.

Roger. Thank you very much for the answer! Having an annotation position variable with end-center-start of a bar section would open up some more graphical opportunity.

I would also like this feature to be implemented, more specifically the hoverinfo placement. Any idea of when to expect this kind of update?

It’s not a big challenge to set-up. I used a function to automatically create invisible point features in the middle of the chart to display valuable information.

Do you mind uploading a codepen for me if you have the time. It will really help others that are having the same problem