Closed projecttiles closed 8 years ago
+1 Same here
Can you show some examples, maybe via animated GIF, of the shape that you are drawing to produce these results? That way I can reproduce. Thanks!
On Thu, May 12, 2016 at 1:25 PM, Baz notifications@github.com wrote:
+1 Same here
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/skokenes/D3-Lasso-Plugin/issues/11#issuecomment-218826912
Here's another video that shows something interesting and should be easily reproduce-able.
It shows that each of the four data points flickers (becomes unselected and selected) when the y coordinate of the cursor is exactly on the y position of the data point. It might have something to do with the reported issue.
Thanks Baz! I was going to show similar example, but the computer I'm on right now is on its last legs (slows easily during screengrabs).
I can't find any issue that's directly attributable in your code, but it's likely within the lasso draw method.
On Fri, May 13, 2016 at 6:18 AM, Baz notifications@github.com wrote:
Here's another video that shows something interesting and should be easily reproduce-able.
It shows that each of the four data points flickers (becomes unselected and selected) when the y coordinate of the cursor is exactly on the y position of the data point.
[image: Video] https://www.youtube.com/watch?v=STQ8AzyRUcg
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/skokenes/D3-Lasso-Plugin/issues/11#issuecomment-219005976
Hey skokenes, has there been any update to this? How can we help fix the issue with you?
Thanks,
-PT
I think this block: if(d.lassoPoint.cy === cur_pos_obj.y && d.lassoPoint.cy != prior_pos_obj.y) { last_known_point = { x: prior_pos_obj.x, y: prior_pos_obj.y }; on lines 186-194 in lasso.js is the root of the problem. WACMemphis mentioned a flickering whenever the y-value of a point was crossed causing deselection.
I hope this helps! I wish I knew js better myself so that I could be of more help.
-PT
@skokenes Any update on this? I've tried to fix it myself, but can't seem to be able to.
He opened up a new empty repo because he wanted to add d3 v4 support. However, I have no clue what to expect from that or when.
This is so close to ideal. I've been spending all of my time in Python, so web dev and js are still quite foreign to me.
Hi, I've migrated the library to v4 with some better code under the hood. Can you please test out that version?
There has been little interest from the community in helping maintain the d3 v3 version of this plugin, so I may close this repo and focus sole on the new repo going forward
Hey skokenes,
First off, I wanted to say that this is a great widget. As someone with very little d3 knowledge, this gave me a nice entry point.
I did notice, however, that not every lasso selection included all of the points in the selection. It might be a problem specific to non-convex selection areas, but I'm not 100% sure.
Thanks,