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

plotly hover tooltips need improving #178

Open
tomjemmett opened this issue Jul 14, 2023 · 5 comments
Open

plotly hover tooltips need improving #178

tomjemmett opened this issue Jul 14, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@tomjemmett
Copy link
Member

current plotly implementation uses default tooltips, these could do with being improved

@tomjemmett tomjemmett added the enhancement New feature or request label Jul 14, 2023
@ThomUK
Copy link
Collaborator

ThomUK commented Jul 14, 2023

Just some screen grabs from when I was reviewing
Current UPL tooltip (needs rounding, and better label):
image

Current data tooltip (might need rounding for some datasets, point_type would be better as "Variation Type", and removing the snake case text would be great):
image

Similar points to above for the legend:
image

@tomjemmett
Copy link
Member Author

separate issue for legend in #177 🙂

@tomjemmett
Copy link
Member Author

#182 is an attempt to improve this, but not resolve. I've basically hacked it by string replacing on the items to remove the additional text, then used a unified x-axis hovermode to show all traces at once

We may be somewhat limited by using plotly::ggplotly, and to tackle this completely we may need to create it in {plotly} from scratch

image

@joekeane7
Copy link
Contributor

Is there any work ongoing around improving the tooltips? I think it would be good to see the cause of the dot colour like shift above the mean for example when you hover over a dot.

image

@ThomUK
Copy link
Collaborator

ThomUK commented Apr 23, 2024

I don't think anyone is working on it, so feel free to self-assign it if you'd like to...

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

No branches or pull requests

3 participants