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
hi all, for the web i am developing i need to create an area chart, so i have decided to use the chart.js library, to use it i just need to put the following script <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> in my html and put another script under that with the configuration of my chart.
now in the web that i am developing, i want to keep everything tidy so i am using modules. because of that i "can't" put the cdn corresponding to the library in the same html. my question is chart.js has some url to do import for be able to use part of its functionalities without installing the library.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi all, for the web i am developing i need to create an area chart, so i have decided to use the chart.js library, to use it i just need to put the following script <script src="https://cdn.jsdelivr.net/npm/chart.js"></script> in my html and put another script under that with the configuration of my chart.
now in the web that i am developing, i want to keep everything tidy so i am using modules. because of that i "can't" put the cdn corresponding to the library in the same html. my question is chart.js has some url to do import for be able to use part of its functionalities without installing the library.
Beta Was this translation helpful? Give feedback.
All reactions