-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Enable text for scattergl trace #2737
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
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
8ec98b9
Enable text-related attributes
dy 862905c
Basic font rendering
dy d1a06c0
Make correct render output
dy cbc7f3f
Fix alignment
dy cc2cca1
use github 'regl-text'
etpinard e5a771c
Avoid double update
dy 349b551
Fix image width
dy 71c1acb
Add proper vertical alignment
dy 4fe4e3a
Add textgl mocks
dy ff1d4fc
Use published gl-text package
dy 95a3d1a
Compare license ignoring trailing spaces
dy ed7e0a0
Update deps
dy fa96cc7
Fix es5 word
dy 9653fcf
Bump gl-util
dy 17c1b0b
Add mocks
dy 0154571
Fix mocks
dy c47d258
Unroll redundant change
dy 79eae53
Bump gl-text deps
dy bd4491c
is isNumeric instead of typeof === 'number'
etpinard 741bfb1
Rename mocks
dy 4d67fa4
Fix panning
dy 90479a7
Make text selection work
dy 6def5e4
Fix text tests
dy 47cf7e2
Make fast batch rendering
dy a53baf6
Make selection work
dy b3fb445
Bump gl-text
dy e09a4e1
Tmp fix
dy 668d7ee
Fix undefined offsets/baseline
dy a41ea35
Bump gl-text
dy 1702b30
Make selection work better
dy 62bf263
Add baselines
dy 65f97f3
Fix dep
dy 55906cc
fixup package-lock
etpinard 46bc623
clean up export names for scattergl/convert.js
etpinard 7d75169
rename [un]selectedOptions -> marker{Unselected|Selected}Options
etpinard 1a64005
cleanup scattergl text convert / select logic
etpinard bdc8f4a
apply [un]selected.textfont.color on plot
etpinard 959a555
add & :lock: `hovertext` support for scattergl
etpinard 431c564
fix & :lock: scattergl text visible toggles
etpinard 9f3827c
add gl text chart select test
etpinard 3af4d2f
use glText[0].regl to clear viewport during selection when `mode: 'te…
etpinard a83077b
Merge pull request #2770 from plotly/textgl-etienne
etpinard 29fa2ef
Bump gl-text, fix safari
dy e462eda
fixup package-lock
etpinard 52614d1
fix and :lock: selections + array textfont.color
etpinard 143a61e
fixup selected textfont.color logic + add a few more tests
etpinard fb08f55
Bump gl-text
dy a5637dd
Update baselines
dy 6aedaa6
Round texture shape
dy 235f1ac
fixup package-lock
etpinard 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
Tmp fix
- Loading branch information
commit e09a4e1fcd671a80fa478899de146006238b9efd
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.
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.
We'll have to move this to out of
selectPoints
and intoscene.plot
to make set sure e.g.Plotly.restyle(gd, 'selected.textfont.color', 'red')
works.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.
Fixed in bdc8f4a