-
Notifications
You must be signed in to change notification settings - Fork 0
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
Point highlighting #29
Conversation
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.
Going to see if i can tweak to have this work on the existing points directly instead of making new data sets and drawing new points.
|
||
this.plots.svgs.each(function(d) { | ||
const svg = d3.select(this); | ||
|
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.
Leaning towards just styling the existing circles instead of drawing new ones.
|
||
export default function onMouseMove(svg, d) { | ||
const mouse = d3.mouse(svg), | ||
coordinates = d.coordinates.concat(d.overlayCoordinates), |
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.
Thinking that it's better to select points here and filter directly on the datum ...
Closing this since it's covered in #30 |
No description provided.