Chartjs-Chart js graph not showing on canvas

0👍

Your chart import is wrong, you have to import all the components you want to use and register them if you use brackets like so or you can ignore the treeshaking and let charts handle it if you import it like so import Chart from 'chart.js/auto'

For the treeshaking import and register see documentation

Leave a comment