Skip to content
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

Installation docs: is import required or what? #35

Open
kalnode opened this issue Jan 17, 2025 · 0 comments
Open

Installation docs: is import required or what? #35

kalnode opened this issue Jan 17, 2025 · 0 comments

Comments

@kalnode
Copy link

kalnode commented Jan 17, 2025

Reading the docs, it was not clear to me how to get this work with ChartJS4 in my context of a web app (Vue or React).

Through trial-and-error, I discovered I simply needed to add:

import ChartDeferred from 'chartjs-plugin-deferred'
ChartJS.register(<my other registrations>, ChartDeferred)

Maybe I missed it or I'm overlooking something obvious, this doesn't seem to be mentioned anywhere in the main git readme or the npm page for this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant