-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Needs brush to resizes to the closest domain value #958
Labels
question
For general questions and clarifications
Comments
The linked D3 example uses the following strategy:
You can use the same strategy in Vega within signal expressions.
|
Glad it worked out. Thanks for sharing! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to make the brush snaps to the closest domain value like on this example...
https://bl.ocks.org/mbostock/6232537
I believe I need to change the delta value onmouseup but I can't figure out how to pass the mouse x() value to the scale...
The text was updated successfully, but these errors were encountered: