Skip to content

Add opacity (transparency) to hover box / Allow it to be outside the plot #1828

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

Open
GitHunter0 opened this issue Jul 30, 2020 · 2 comments
Open

Comments

@GitHunter0
Copy link

GitHunter0 commented Jul 30, 2020

Plotly hover box has no transparency to it, which causes it to cover other data points, compromising the visual analysis of the data. Example:
image

Ideally it would allow box transparency like these one from dygraphs, which displays the hover text but does not cover/hide the region beneath it (http://dygraphs.com/tests/legend-values.html)
image

Additionaly, it could be great to have the possibility to show the tooltip/hover box information outside the plot, again to not cover any part of the plot and enable clear visual inspection. Another example from dygraphs:
image

Highcharts and dygraphs have those options as default.

There is some related discussion/request here: https://community.plotly.com/t/custom-hovertext-obstructs-plot-view-opacity-bottom-of-plot/9065

Changes like these would allow Plotly to be an excellent tool for financial plots and to be adopted by many more analysts from finance field.

Plotly is the best graphing tool in my opinion and I would like to stick to it, so I really appreciate if you can consider this request. Thank you for the awesome work.

@cpsievert
Copy link
Collaborator

A feature like this would have to come from the underlying plotly.js library...please repost your feature request here https://github.com/plotly/plotly.js/issues/new

@GitHunter0
Copy link
Author

Thank you @cpsievert , I just did: plotly/plotly.js#5036

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

No branches or pull requests

2 participants