Skip to content

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

@GitHunter0

Description

@GitHunter0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions