forked from plotly/plotly.js
-
Notifications
You must be signed in to change notification settings - Fork 0
189 ordinal scale domain item ordering #1
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
Open
monfera
wants to merge
42
commits into
master
Choose a base branch
from
189-ordinal-scale-domain-item-ordering
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
87ab745
Reifying current default ordering logic with a passing test case and …
monfera a547482
Ensure that null / undefined removal is in place, even in the presenc…
monfera 69bf832
Ensure that no errors arise from the possibility of broader order spe…
monfera 3fd3cc0
Ensure that it adheres to the categories array even if it doesn't com…
monfera e2977c5
Adding attribute definitions: categorymode and categories; simplifyin…
monfera 62c4ac5
Renaming of 'categories' to 'categorylist' (it was explicitly deleted…
monfera 85d60d6
Minimal commit to demonstrate the working of categorymode = 'array'
monfera f6c40b6
Minimal change for implementing 'category ascending' and 'category de…
monfera e4f2167
factored out orderedCategories into a separate function
monfera 03643fe
factored out orderedCategories into a separate function
monfera 9c366ce
lint orderedCategories
monfera f626b08
#189 role: info
monfera 2f939af
#189 updating preexisting test cases in line with PR feedback (if the…
monfera ce35e8b
#189 updating preexisting test cases so that order itself is checked;…
monfera 262c747
#189 updating preexisting test cases: further updates to proper axis …
monfera 5f33a7b
#189 updating preexisting test cases: further updates to proper axis …
monfera f4214cb
#189 adding a path for when categorymode is not in ['array', 'categor…
monfera cbc98fd
#189 updating test case with non-utilized categorylist elements at be…
monfera a806ca2
#189 test case with null value for a category we just want for an axi…
monfera 5ad6b5c
#189 baseline test case based on codepen pointed to by @etpinard
monfera 82076f2
#189 commented out categorymode value ascending/descending as it's no…
monfera 6fb2871
#189 adding test cases for trace lines with mutually exclusive catego…
monfera 616121b
#189 adding test cases for trace lines with partially overlapping, fu…
monfera 89794c6
#189 adding test cases for combinations of category ordering and stac…
monfera 849978e
#189 test case linting
monfera d6fad10
#189 adding missing docs and reducing assumptions
monfera 7c355b8
#189 adding actual DOM axis tick order tests for a couple of less tri…
monfera 8a2292c
#189 rewriting cateogory sorter to O(1) + one sort call
monfera 9b01bcc
#189 rewriting cateogory sorter: extract out logic
monfera 010451b
#189 rewriting cateogory sorter: switching to switch
monfera 6c9d0b5
#189 rewriting cateogory sorter: misc. improvements
monfera 166aeb4
#189 renaming for uniformity (predominantly createGraphDiv() seems to…
monfera e472e14
#189 initial round of coercions with test cases
monfera d16fe6b
#189 additional tests for categorymode coercions
monfera 0314f37
#189 comment fix
monfera 043ac1b
#189 PR feedback and linting
monfera b98bd65
#189 image based regression test JSONs
monfera e007f73
#189 reworking the order code because it converted numbers to strings…
monfera 34a5054
#189 adding image based tests
monfera c6d44d9
#189 comment update
monfera 44a0c3d
#189 switching from O(n) to O(log(N)) complexity unique insertion sort
monfera 613fda3
#189 adding axis attributes to 3D plots
monfera 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.
@etpinard Just an FYI, since I started this CR with the test cases, my conception on where order would be present became outdated. As now I understand that gd.calcdata will keep the trace order, I'm updating test cases such that the original trace order is expected, and explicit checks on the x/y tuples are in place. It looks good to me but please tell me if you have an alternative suggestion.
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.
nicely done.