How to Install Chart.js

Created
Modified

Simple yet flexible JavaScript charting for designers & developers.

Installation

You can download the latest version of Chart.js from the GitHub releases or use a Chart.js CDN.

GitHub

Latest:2021-08-29 09:55:19
License:MIT License
Cloning with HTTPS URLs
git clone https://github.com/chartjs/Chart.js.git
Cloning with SSH URLs
git clone [email protected]:chartjs/Chart.js.git
Cloning with GitHub CLI
gh repo clone chartjs/Chart.js

NPM

Version:3.5.1
Publish Time:2021-08-18 20:25:11
Unpacked Size:1.08 MB
Downloading and installing packages locally
npm i chart.js
npm install chart.js
yarn add chart.js
Downloading and installing packages globally
npm i -g chart.js
yarn global add chart.js
Install Specific Version of a Package
npm install [email protected]
Bower
bower install chart.js

For more information about Chart.js see https://www.chartjs.org/docs/latest/.

  • checkOpen source - Chart.js is a community maintained project, contributions welcome!
  • check8 Chart types - Visualize your data in 8 different ways; each of them animated and customisable.
  • checkHTML5 Canvas - Great rendering performance across all modern browsers (IE11+).
  • checkResponsive - Redraws charts on window resize for perfect scale granularity.