Skip to content
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

Closed
wants to merge 6 commits into from
Closed

Point highlighting #29

wants to merge 6 commits into from

Conversation

samussiah
Copy link
Contributor

No description provided.

Copy link
Contributor

@jwildfire jwildfire left a 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);

Copy link
Contributor

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),
Copy link
Contributor

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 ...

@jwildfire
Copy link
Contributor

Closing this since it's covered in #30

@jwildfire jwildfire closed this Sep 16, 2017
@jwildfire jwildfire deleted the point-highlighting branch September 22, 2017 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants