-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Align interactions when plot created inside scaled and/or translated elements using CSS transform #5193
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
Align interactions when plot created inside scaled and/or translated elements using CSS transform #5193
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
b9a5d35
888: transform hover event coords to fit css scaling transform
alexhartstone 5e6eee9
888: fix cartesian dragbox
alexhartstone 1741a4a
fix syntax in new files
archmoj f0232c4
some minor changes
archmoj 3b63fe6
renaming variables and method since list of all elements includes the…
archmoj 5c60d5e
lets not touch dragbox keys
archmoj 2529474
drop unused functions
archmoj b8e7c6a
declare isMiddle variable in hover
archmoj 0b4f74a
correct size of hover box and position of text
archmoj a6aeafa
decompose scales when there is also rotation
archmoj 7e8a0e8
drop unused function
archmoj 41820ce
refactor matrix
archmoj d7665f3
fixup translate within inverseTransformMatrix function
archmoj c0868c2
replace invert function with gl-mat3 to compute determinant etc. corr…
archmoj 7625a67
use parentNode instead of parentElement for IE support
archmoj 46ed093
increase computed style calls - new one added in hover
archmoj 44769fa
bypass and return default matrix if encountered a problem instead of …
archmoj 463a0ab
transform drag start position
archmoj e7d9a53
adjust cartesian drag box endpoint in respect to scales
archmoj 080034b
adjust cartesian select start and end point according to parent trans…
archmoj 2bfc471
adjust trace name hover text and box
archmoj 1b78028
adjust left and right alignments
archmoj f412175
adjust vertical offset between multiple hover boxes
archmoj 825d962
compute inverse transform a
8000
t graph main div level not the event target
archmoj 7e26e91
compute inverse transform for gd at makePlotFramwork and stash it on …
archmoj c137f14
no need for extra adjustment for y offset
archmoj bedbee7
adjust scale of svg hover container in respect to transform for gl3d …
archmoj 2c810fc
handle cases where css transform has a length of 16 using 4x4 matrices
archmoj c409a28
fixup matrix for translate
archmoj 68f5add
888: cartesian hover test
alexhartstone 8e64281
888: changed transformPlot fn, added dragzoom test
alexhartstone dbc5232
888: select test
alexhartstone 07b934b
888: more flexible transform testing
alexhartstone d75c018
888: polar hover test
alexhartstone d31244a
888: fix polar dragzoom
alexhartstone 94f685f
888: fixed cartesian pan
alexhartstone 435945b
888: use scale factors in polar too for performance
alexhartstone f3c03cd
888: assign scales at makePlotFramework
alexhartstone 23b4d3c
888: fix polar plot rotation
alexhartstone 84ede31
888: fix alignHTMLWith
archmoj 4b1bf62
888: various syntax fixes
archmoj d3b548f
888: adjust scatter mapbox hover when css transition is present
archmoj 4e1fd5f
drop unused argument
archmoj 76afc6c
a bit of optimization in choropleth/hover - avoid creating the same a…
archmoj 0117b41
888: fixup scattermapbox both select and hover
archmoj 4980e24
return correct latitude and longitude from mapbox p2c
archmoj 88b24f6
offsetX and offsetY are now implemented in FireFox - remove from blac…
archmoj b2eed52
888: added polar drag and select tests
alexhartstone 8cc496c
fixup polar test
archmoj 1dee019
expand and fix tests
archmoj 02b6f79
removed hacky clientX and clientY from scattermaobox events
archmoj 805d97b
add scattermapbox tests when css transform is present
archmoj 127f171
expand choropleth hover tests to cover css transform
archmoj 12a57c9
expand choroplethmapbox hover tests to cover css transform
archmoj 34845ec
expand select tests for various traces to cover css transform
archmoj 29e772d
expand ternary hover and drag zoom tests to cover css transform
archmoj 28a9178
remove dirty matrix validation - take care of matrix3d form instead
archmoj a2f34c9
adjust hover positions on parcats category bands in respect to css tr…
archmoj 9fe42b6
adjust hover positions on sankey nodes in respect to css transforms
archmoj 5681a34
bypass test
archmoj e94ef47
bapass on more flaky test to pass on the CI
archmoj 9cc0a15
integrate fullLayout inverseTransform and m shorthand
archmoj 95a81fc
refactor polar fix
archmoj 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
888: cartesian hover test
- Loading branch information
commit 68f5addd86e7ba04022b7c43e8492c842d709747
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.
Uh oh!
There was an error while loading. Please reload this page.