mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
1.8 KiB
1.8 KiB
Installation
Chart.js can be installed via npm or bower. It is recommended to get Chart.js this way.
npm
npm install chart.js --save
Bower
bower install chart.js --save
CDN
CDNJS
Chart.js built files are available on CDNJS:
https://cdnjs.com/libraries/Chart.js
jsDelivr
Chart.js built files are also available through jsDelivr:
https://www.jsdelivr.com/package/npm/chart.js?path=dist
Github
You can download the latest version of Chart.js on GitHub.
If you download or clone the repository, you must build Chart.js to generate the dist files. Chart.js no longer comes with prebuilt release versions, so an alternative option to downloading the repo is strongly advised.