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 fix waterfall hovermode closest decreasing values #3778

Merged
merged 3 commits into from
Apr 16, 2019

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Apr 16, 2019

Fixes #3776.
Codepen After.

@plotly/plotly_js
cc: @nicolaskruchten

@archmoj archmoj added status: reviewable bug something broken labels Apr 16, 2019
@@ -34,6 +34,7 @@ function hoverOnBars(pointData, xval, yval, hovermode) {
var trace = cd[0].trace;
var t = cd[0].t;
var isClosest = (hovermode === 'closest');
var isWaterfall = (trace.type === 'waterfall');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I guess it would be annoying to move this logic in waterfall/hover.js. 😞

@etpinard
Copy link
Contributor

Thanks for the fix and test 💃

@archmoj archmoj merged commit 172c3e6 into master Apr 16, 2019
@archmoj archmoj deleted the fix3776-waterfall-hovermode-closest branch April 16, 2019 23:06
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 this pull request may close these issues.

Waterfall hovermode closest bug
2 participants