-
Notifications
You must be signed in to change notification settings - Fork 221
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
.entitiesIn() excluding first entity on area plot #3428
Comments
My theory is that the area plot treats each value as a thin vertical line above the tick on the scale, and unless you touch it, it's not included by |
Hey folks, any way to get advice on this? Unfortunately my project has stalled because of this bug :-( |
Hi! Just checking in on this. I've put the project on the shelf, unfortunately. Any chance of assistance here? |
The full-screen demo illustrates the impact a little better. You can clearly select "july" and have it not show up in what's logged to the console, unless you start before the line to the left of july. |
Bug report
It appears that the Area plot's
entitiesIn()
method excludes the left-most entity. For it to be included, you must put your cursor slightly before it. I'm not confident my users could figure that out :-/ This issue seems to be limited to Area plots.I appreciate your time if anyone can help!
Live example URL: https://codepen.io/timwis/pen/MOMgaQ?editors=0010Better live example URL: https://codepen.io/timwis/full/MOMgaQ/
Steps to repro:
.entitiesIn()
excludes the month you started dragging onExpected behavior
Console logs all of the months you touched
Actual behavior
Console logs every month except the left-most one
The text was updated successfully, but these errors were encountered: