-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Hover on fills #673
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
Merged
Merged
Hover on fills #673
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
43e8d30
hoveron=fills initial commit
alexcjohnson 8aa4397
fix bug in heatmap + non-heatmap hover
alexcjohnson 876bd1d
put fill hover label at the right (or left) middle.
alexcjohnson 2018a74
prev trace changes fill hover the same way as it changes fill itself
alexcjohnson c7a9dd5
couple of perf and style tweaks to regular point hover
alexcjohnson 5552c77
test hoveron=fills label position and text
alexcjohnson ffd56c7
fix and test hoveron=fills for scatterternary
alexcjohnson dddb6e1
lock test graphDiv to position 0,0 and other jasmine reliability tweaks
alexcjohnson 1931102
test hoveron in supplyDefaults
alexcjohnson 47d2df8
Merge branch 'master' into hoveron-fill
alexcjohnson 025b788
more lenient test of hoveron fills label position
alexcjohnson 1a685d4
appease eslint :cow2:
alexcjohnson f22fac8
give back a little more time in click_test doubleclick
alexcjohnson ba77f5b
copy hoveron fill testing mocks
alexcjohnson 1d1a0f7
lib.coerce: allow flaglist with no extras
alexcjohnson aec4c95
make hoveron a flaglist
alexcjohnson 1e86eb2
update scatter(ternary) supplyDefaults test for hoveron flaglist
alexcjohnson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seem to be intermittent errors with click and doubleclick returning before the plot gets a chance to redraw. It would be better to ask the plot itself when it's done but I'm not sure how. We could try to tap into
gd._promises
but I'm not sure we'd know when the plot has started redrawing so that might be meaningless...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you fixed #567 Thanks!
Maybe we could listen to
plotly_afterplot
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly. Though there may be cases where there never is a
Plotly.plot
call after the click.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#567 is not fixed... still some intermittent failures around there. I'm not going to tweak it any more in this PR, but I think you're on to something with judicious event listening.