Replies: 2 comments 5 replies
-
For the CDN links to work it need to match version (0.7.7 relies on Chart.js V2 and version >= 1 relies on CHart.js V3) also Chart.js needs to be loaded before you load the zoom plugin |
Beta Was this translation helpful? Give feedback.
0 replies
-
The "window not defined" probably comes from hammer.js, you can use ng-hammmer instead: https://www.npmjs.com/package/ng-hammerjs |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
is there a way how to use this plugin in Nuxt.js ?
zoom.client.js
like this :and then register it as a nuxt.js plugin i dont really know how to register that plugin in the component, like, how do i call something like
Chart.register(Zoom)
or something to make it work ?So is there a way how to make the zoom plugin work ? I've spent two nights trying to figure this out but without luck :/
Beta Was this translation helpful? Give feedback.
All reactions