Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Position hover label in the vertical middle of bar

Hi,

Is there a way to position hover labels in the vertical middle of bars?

It seems they always appear at the top of bars.

Best regards,

Antonio

There’s no easy way I’m afraid.

You can try using Plotly.Fx.hover to display custom hover labels, exactly where you want them.

See https://plot.ly/javascript/hover-events/#coupled-hover-events for an example.