Skip to content

Visualizations: tiny bars don't have mouseover counts #759

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
danicahelb opened this issue Dec 2, 2021 · 3 comments
Open

Visualizations: tiny bars don't have mouseover counts #759

danicahelb opened this issue Dec 2, 2021 · 3 comments
Labels
UX topic indicates the issue is paused for discussion in EDA UX meeting

Comments

@danicahelb
Copy link

When I hover over bars with small heights, I do not get a mouseover with the exact count for that bar:

image

For example, in GEMS1, I cannot mouseover to get the exact counts of "Other, specify"

@moontrip
Copy link
Contributor

moontrip commented Dec 2, 2021

Hi @danicahelb It was a well-known issue, due to inherent nature of any bar/histogram plot library. As you showed in the screenshot, the max is around 15000 while the min is very small like 1. There is no way to show such a small min value in such a case. To alleviate this issue, @bobular suggested addressing the dependent axis range in log-scale option, which tends to have much smaller range and larger plot area for smaller values in log-scale: this it may be possible to emphasize small values.

please refer to the following ticket, #589, and it was addressed at the following PRs, #623: the PR contains more detailed info & screenshot

For this reason, I think that this ticket is a non-issue, will not be addressed, or already addressed

@bobular
Copy link
Member

bobular commented Dec 2, 2021

This is a tricky one. I agree that log mode is a sensible workaround for now.

I played with layout.hoverdistance: -1 which seems to have some poorly documented behaviour. One of the tiny bars does get a mouse-over, but all the other bars get the exact same mouse-over. :-(

@steve-fischer-200 steve-fischer-200 transferred this issue from VEuPathDB/EdaNewIssues Dec 7, 2021
@steve-fischer-200 steve-fischer-200 added this to the EDA ClinEpi Phase 2 milestone Dec 7, 2021
@danicahelb danicahelb added the bug Something isn't working label Feb 9, 2022
@danicahelb danicahelb removed bug Something isn't working medium cost labels Jun 10, 2022
@bobular
Copy link
Member

bobular commented Aug 31, 2022

Some suggestions regarding numbers above bars

VEuPathDB/web-components#389 (comment)

@danicahelb danicahelb added the UX topic indicates the issue is paused for discussion in EDA UX meeting label Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX topic indicates the issue is paused for discussion in EDA UX meeting
Projects
None yet
Development

No branches or pull requests

4 participants