You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 19, 2019. It is now read-only.
good evening people.i am trying to use the cdn way (script link) and show a Pie chart but i cant
i dont use "require" commands neither "import"
thanks a lot
i tryed that :
https://stackoverflow.com/questions/40716800/using-library-without-require-when-using-cdn
but i got that error:
TypeError: (new Chart(...))[chartType] is not a function
My code:
var PieChart = window['react-chartjs'].Pie;
and at render() i got :
The text was updated successfully, but these errors were encountered: