Skip to content

Click events for waterfall charts not aligned #4524

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

Closed
mtadams007 opened this issue Jan 28, 2020 · 2 comments · Fixed by #4537
Closed

Click events for waterfall charts not aligned #4524

mtadams007 opened this issue Jan 28, 2020 · 2 comments · Fixed by #4537
Assignees
Labels
bug something broken

Comments

@mtadams007
Copy link

I've been working with waterfall charts and added a click event. If the waterfall bar is negative, then the area where the click is ends up being misaligned. Sometimes one has to click far above the bar to trigger the click, while other times one cannot trigger the click at all.

See https://codepen.io/mtadams007/pen/KKwLpzR?editors=0010 for a working example.

Thanks

@etpinard
Copy link
Contributor

Thanks very much for posting!

The hover labels are also not working as intended under hovermode: 'closest'

Peek 2020-01-29 11-48

(they worked fine under hovermode: 'x')

@mtadams007
Copy link
Author

Great! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants