-
Notifications
You must be signed in to change notification settings - Fork 241
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
Unable to get the zoom object #168
Comments
You just make something wrong. |
@liuyepiaoxiang thanks for your answer. I tried as you said:
but I'm still getting undefined. |
That you can try do not use d3.chart.eventDrops(),use eventDrop directly.like this |
Hello everybody!
I'm currently using EventDrops in an Angular 4 application. I need to set the zoom programmatically, so I read the documentation and the example:
I have something similar in my code:
but then I got undefined, so I'm unable to get the zoom.
I also tried to change the code to:
But then I got another error:
Is it a bug or am I doing something wrong?
Thanks!
The text was updated successfully, but these errors were encountered: