-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Implementation of arrayOk textposition for scatter3d traces #3200
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
e6d7532
support for different text alignments using scattergl
archmoj cdb0bac
correct baseline image based on new feature
archmoj 37c592e
revised cases and using defaults in the function
archmoj f804dae
correct syntax
archmoj 73cd576
fix undefined and null textposition inputs for scatter plot
archmoj d4addd0
removed unused default variable
archmoj bb7adb6
revised the condition check and added a jasmine test for textpositions
archmoj bc0c5df
revised the condition check and added a jasmine test for textpositions
archmoj ee8db8d
using gl-scatter3d v.1.0.16
archmoj 555a541
Merge branch 'master' into issue-2872
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
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions
25
test/image/mocks/gl3d_scatter3d-different-align-texts.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"x": [0, 1, 2, 3, 4, 5, 6, 7, 8], | ||
"y": [0, 1, 0, 1, 0, 1, 0, 1, 0], | ||
"z": [0, 1, 2, 3, 4, 5, 6, 7, 8], | ||
"type": "scatter3d", | ||
"mode":"lines+markers+text", | ||
"text": ["middle center", "bottom", "right", "bottom right", "bottom left", "left", "top right", "top", "top left"], | ||
"textposition": ["", "bottom", "right", "bottom right", "bottom left", "left", "top right", "top", "top left"] | ||
} | ||
], | ||
"layout": { | ||
"title":"Texts in scatter3d could be aligned differently using arrays", | ||
"width": 800, | ||
"height": 600, | ||
"scene":{ | ||
"camera":{ | ||
"eye":{ "x":-1.25,"y":1.25,"z":1.25 }, | ||
"center":{ "x":0,"y":0,"z":0 }, | ||
"up":{ "x":0,"y":0,"z":1 } | ||
} | ||
} | ||
} | ||
} |
This file contains 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.
Nice mock!