Chart.js

    You can get the latest version of Chart.js from npm (opens new window), the , or use a Chart.js CDN (opens new window). Detailed installation instructions can be found on the page.

    If you’re using a front-end framework (e.g., React, Angular, or Vue), please check available integrationsChart.js - 图6 (opens new window).

    In this example, we create a bar chart for a single dataset and render that in our page. You can see all the ways to use Chart.js in the .

    Before submitting an issue or a pull request to the project, please take a moment to look over the contributing guidelines first.

    Chart.js is available under the .

    Documentation is copyright © 2014-2021 Chart.js contributors.