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

Bug with tooltips on the country stats graph when there is a large difference in visits between countries #66

Closed
jakkuh opened this issue Oct 23, 2018 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jakkuh
Copy link

jakkuh commented Oct 23, 2018

When there is a large difference in visits between countries, it can be very difficult to see what the click count is on countries on the small side of that.

This is because the tooltip is set to only appear when hovering over the bar and not the Y axis label itself.

Potential solutions:

  1. Have the tool tip appear also when hovering over the respective Y axis label
  2. Show a click count at the end of each bar

https://i.imgur.com/zkPdif2.png

@acelaya
Copy link
Member

acelaya commented Oct 23, 2018

Since I'm using a third party library to render the graphs, I'm not 100% sure how difficult this could be, but I'll try to provide a solution.

Thanks!

@acelaya acelaya added the bug Something isn't working label Oct 23, 2018
@acelaya acelaya added this to the 1.2.0 milestone Oct 28, 2018
@acelaya acelaya self-assigned this Oct 28, 2018
@acelaya
Copy link
Member

acelaya commented Oct 30, 2018

@tivyhosting this is the best solution I could get after some time digging in ChartJS docs.

ezgif com-video-to-gif

Also, it behaves quite well in mobile devices, since you can click anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants