Simple HTML5 Charts using the tag
Go to file
Simon Brunel c268185953 Fix Slack invitation link (#5217)
Setup a new Heroku app based on rauchg/slackin, using Slack legacy token from the Chart.js (chartjs.slack@...) user and reCAPTCHA from the same Google account.
2018-01-31 19:35:08 -07:00
.github Combine the two contributing docs 2017-04-17 07:27:41 -04:00
docs Fix Slack invitation link (#5217) 2018-01-31 19:35:08 -07:00
samples Update custom tooltip documentation and samples (#5166) 2018-01-21 16:47:50 -05:00
scripts Deploy to GitHub pages (#4256) 2017-05-19 21:58:34 +02:00
src Don't draw tick across axis/border (#5178) 2018-01-28 18:59:22 +01:00
test Treat negative values in doughnut charts as positive (#5165) 2018-01-21 12:12:33 -05:00
.codeclimate.yml Use the Chart.js shared ESLint config (#5112) 2018-01-06 17:59:13 -05:00
.editorconfig Fix tests on OSX with retina screen 2017-08-05 10:48:12 -04:00
.eslintignore Update git ignore to make it easier to switch between branches. Add code climate config here as well. 2016-02-14 15:15:17 -05:00
.eslintrc.yml Use the Chart.js shared ESLint config (#5112) 2018-01-06 17:59:13 -05:00
.gitignore Ignore package-lock.json (#5138) 2018-01-11 06:51:03 -05:00
.npmignore Make Travis to release the npm package 2016-06-18 12:14:32 +02:00
.travis.yml Suppress coveralls errors if run from fork (#4699) 2017-11-01 16:00:41 +01:00
book.json Add GA tracking code to docs 2017-05-19 21:44:24 +02:00
composer.json add composer file 2015-11-05 13:36:04 -05:00
gulpfile.js Log gulp error to Chart.js (#5143) 2018-01-13 12:17:38 -05:00
karma.conf.js Attempt to fix test flakiness (Firefox) (#4880) 2017-10-22 17:32:39 +02:00
LICENSE.md Update license year and copyright holders (#5053) 2017-12-31 15:17:22 +01:00
MAINTAINING.md Fix broken links in Maintaining.md 2016-09-12 23:21:40 -04:00
package.json Fix GitBook error with the shared ESLint config (#5133) 2018-01-11 09:03:16 +01:00
README.md Fix Slack invitation link (#5217) 2018-01-31 19:35:08 -07:00

Chart.js

travis coveralls codeclimate slack

Simple HTML5 Charts using the canvas element chartjs.org

Installation

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

To install via npm:

npm install chart.js --save

To install via bower:

bower install chart.js --save

Selecting the Correct Build

Chart.js provides two different builds that are available for your use. The Chart.js and Chart.min.js files include Chart.js and the accompanying color parsing library. If this version is used and you require the use of the time axis, Moment.js will need to be included before Chart.js.

The Chart.bundle.js and Chart.bundle.min.js builds include Moment.js in a single file. This version should be used if you require time axes and want a single file to include, select this version. Do not use this build if your application already includes Moment.js. If you do, Moment.js will be included twice, increasing the page load time and potentially introducing version issues.

Documentation

You can find documentation at www.chartjs.org/docs. The markdown files that build the site are available under /docs. Previous version documentation is available at www.chartjs.org/docs/latest/developers/#previous-versions.

Contributing

Before submitting an issue or a pull request, please take a moment to look over the contributing guidelines first. For support using Chart.js, please post questions with the chartjs tag on Stack Overflow.

Building

Instructions on building and testing Chart.js can be found in the documentation.

Thanks

  • BrowserStack for allowing our team to test on thousands of browsers.
  • @n8agrin for the Twitter handle donation.

License

Chart.js is available under the MIT license.