Chartjs-Chart.js pie chart not showing

0👍

var data = datasetsx;

This actually solved the issue.
the variable “data” should not have been declared like I did before, it has its own style which differs from bar and line ones!

Thankyou for your help!

Leave a comment