Skip to content

Hover Label Flicker when it contains a link #911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sim-ware opened this issue Jan 8, 2018 · 4 comments
Closed

Hover Label Flicker when it contains a link #911

sim-ware opened this issue Jan 8, 2018 · 4 comments

Comments

@sim-ware
Copy link

sim-ware commented Jan 8, 2018

Hi Plotly Community!

I’m having a couple of issues using the Python API for Plotly. Basically I have a Bar Chart, and some information I want to present about it in Hover Labels. However, when one of these pieces of information is presented as a hyperlink, the label itself starts to flicker when moused over. I’ve attached a gif for reference. Do you, the community, have any suggestions?
hoverflicker

@cldougl
Copy link
Member

cldougl commented Jan 8, 2018

Hi there,
We currently don't recommend or support adding hyperlinks to hovertext. You can follow this issue: plotly/plotly.js#998 in our core graphing library plotly.js for updates on the feature. Thanks!

@cldougl cldougl closed this as completed Jan 8, 2018
@sim-ware
Copy link
Author

sim-ware commented Jan 8, 2018

Hi cldougl,
Thanks for your quick help! Will keep an eye peeled for updates on the feature, in the future. In the meantime we'll think about working round this in the short-term. Thanks again Plotly!

@newuser357
Copy link

Has there been an update to the solution?

@pkstacey
Copy link

There's a similar attempt here: https://chart-studio.plotly.com/~chris/2540/hover-over-the-points-to-see-the-link/#/code

I'm trying something similar to you, but neither mailto nor javascript protocols seem to be supported within the 'text' property of a dash/plotly tooltip. Any luck?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants