Skip to content
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

Features for financial analysis: Add opacity (transparency) to hover box / Allow it to be outside the plot / Increase its gap / hover information solely on the x and y axes #5036

Closed
GitHunter0 opened this issue Jul 31, 2020 · 3 comments

Comments

@GitHunter0
Copy link

GitHunter0 commented Jul 31, 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:
git1

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)
git_dy1

Same with Highcharts (https://www.highcharts.com/demo/line-time-series/sand-signika):
Highcharts

Additionaly, it would 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

Lastly, adding more horizontal gap space between the point and its hover box would also facilitate the visual inspection.
C3 example (https://cran.r-project.org/web/packages/c3/vignettes/examples.html):
image

Highcharts, dygraphs and C3 have those options as default.

Related discussions/requests:
https://community.plotly.com/t/custom-hovertext-obstructs-plot-view-opacity-bottom-of-plot/9065
This one addresses another related common request for finance, which is to display hover information solely on the x and y axes (like https://www.tradingview.com/chart Chart tool)
https://stackoverflow.com/questions/61794582/plotly-how-to-only-show-vertical-and-horizontal-line-crosshair-as-hoverinfo
oaF1I

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.

@nicolaskruchten
Copy link
Contributor

These are good ideas in general, and we'd be happy to work with someone who wants to implement these changes :)

@GitHunter0
Copy link
Author

Thank you @nicolaskruchten , I really don't have the knowledge at the moment to implement those ideas. But I hope in the future I have, because those features are the ones that I most miss in plotly. With them, I believe plotly should no doubt be the go to choice tool for graphing.

@GitHunter0 GitHunter0 changed the title Add opacity (transparency) to hover box / Allow it to be outside the plot / Increase its gap Features for financial analysis: Add opacity (transparency) to hover box / Allow it to be outside the plot / Increase its gap / hover information solely on the x and y axes Jul 31, 2020
@nicolaskruchten
Copy link
Contributor

I'll merge this into #2342 and close.

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

2 participants