You mention that this plugin is for Chart.js 3.0, and if using previous version of Chart.js, version 0.7.7 of this plugin should be used.
But - the latest version of this plugin IS 0.7.7.
And when I try to use this 0.7.7 latest version after migrating to Chart.js 3.0 I get the following error:
Uncaught TypeError: Cannot read property 'plugins' of undefined
Which is caused by this line:
Chart.Zoom.defaults = Chart.defaults.global.plugins.zoom...
Any helpful advice regarding migration to Chart.js 3.0 using the zoom plugin would be super appreciated.
Thanks!
You mention that this plugin is for Chart.js 3.0, and if using previous version of Chart.js, version 0.7.7 of this plugin should be used.
But - the latest version of this plugin IS 0.7.7.
And when I try to use this 0.7.7 latest version after migrating to Chart.js 3.0 I get the following error:
Uncaught TypeError: Cannot read property 'plugins' of undefinedWhich is caused by this line:
Chart.Zoom.defaults = Chart.defaults.global.plugins.zoom...
Any helpful advice regarding migration to Chart.js 3.0 using the zoom plugin would be super appreciated.
Thanks!