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

Revised crosshair mouse move events #27

Closed
andredumas opened this issue Dec 5, 2014 · 0 comments
Closed

Revised crosshair mouse move events #27

andredumas opened this issue Dec 5, 2014 · 0 comments

Comments

@andredumas
Copy link
Owner

Now that #20 is in place, #8 should be revised to emit events based on primary scales rather than configured annotations, as annotations may not be always specified but scales will be.

Rather than:

[
  [xAnnotation0.axis().scale().invert(x)],
  [yAnnotation0.axis().scale().invert(y), 
    yAnnotation1.axis().scale().invert(y), 
    yAnnotationN.axis().scale().invert(y)
  ]
]

Will be:

[crosshair.xScale().invert(x), crosshair.yScale().invert(y)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant