-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add comparator function to ordinal domain sort #152
Conversation
This also adds a fix where unique dates would not be calculated properly. Now, it compares the dates using |
Looks good! I think the two instances of |
Great thanks for the help in spotting that! I forgot to delete that line from the prior implementation. |
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.
Thanks @mhkeller so getting to this so quickly. Looks great
My other thought would be to tweak the comments to say something like
It took me a bit longer than it should have to understand the if block because I was expecting it to be checking if |
@techniq yea that's also a good idea. Another helpful d3-array function that slipped my mind! |
Thanks you both spotting this and your very helpful comments today! |
Thanks @mhkeller for the quick fix and awesome library! |
See #151