This is a code repository for the corresponding YouTube video. In this tutorial, we are going to build and deploy a corona tracker application. Covered topics: React.js, Chart.js, Material UI, and much more.
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.
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