question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

problem migration to Chart.js 3.0 with zoom plugin

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kurklecommented, May 20, 2021

I agree the readme is written like v1 was already released. It describes the master branch accurately though.

I still stand behind the comment I posted in there:

Further documentaion about the need for beta is just not there, because we are still in the time/space of chart.js v3 beta releases and just fallen a little behind with a full release. You can expect it soon, and thus I’m not in favor of documenting the current state.

RC has been out 3 days. I think it can be released as v1 if no blocking issues are found this week.

0reactions
stockiNailcommented, May 20, 2021

@kurkle Thanks a lot! I missed it. Anyway I think not all users go to static documentation and many of them stay on readme page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

chart.js v3 - data decimation not working with zoom plugin
In chart. js v3 data decimation doesn't work when zooming in via the zoom plugin. If I zoom out to 100% again then...
Read more >
3.x Migration Guide - Chart.js
Completely rewritten animation system; Rewritten filler plugin with numerous bug fixes; Documentation migrated from GitBook to Vuepress; API ...
Read more >
chartjs-plugin-zoom - npm
Plugin that enables zoom and pan functionality in Chart.js charts.. Latest version: 2.0.0, last published: a month ago.
Read more >
Search - appsloveworld.com
Coding example for the question Problem with primeNG chart: Module not found: ... too https://www.chartjs.org/docs/latest/getting-started/v3-migration.html.
Read more >
Overview | Maps JavaScript API - Google Developers
Get started with the Google Maps JavaScript API. View a simple example, ... zoom: 8, }); } declare global { interface Window {...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found