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

A Solution if you encountered problems with Chart.js file #37

Open
fjerbi opened this issue Jan 6, 2022 · 0 comments
Open

A Solution if you encountered problems with Chart.js file #37

fjerbi opened this issue Jan 6, 2022 · 0 comments

Comments

@fjerbi
Copy link

fjerbi commented Jan 6, 2022

If you've encountered an error while working on the Chart.js file :
Uncaught Error: "category" is not a registered scale.
just add this import in your file :
import { Chart as ChartJS } from 'chart.js/auto'
and it will fix your issue.

Source

@fjerbi fjerbi closed this as completed Jan 6, 2022
@fjerbi fjerbi reopened this Jan 6, 2022
@fjerbi fjerbi changed the title Solution to Chart Error A Solution if you encountered problems with Chart.js file Jan 6, 2022
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