Simple HTML5 Charts using the tag
Go to file
2017-08-14 07:37:17 -04:00
.github Combine the two contributing docs 2017-04-17 07:27:41 -04:00
docs Make offsetGridLines consistent and add new offset scale option (#4545) 2017-08-14 10:09:33 +02:00
samples Enforce spaces around infix/unary words operators (#4547) 2017-07-22 14:13:09 +02:00
scripts Deploy to GitHub pages (#4256) 2017-05-19 21:58:34 +02:00
src remove redundant tooltip initialize (#4655) 2017-08-14 07:37:17 -04:00
test Make offsetGridLines consistent and add new offset scale option (#4545) 2017-08-14 10:09:33 +02:00
.codeclimate.yml Update codeclimate.yml (#4654) 2017-08-13 22:42:34 -04: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 Enforce variable declaration coding style (#4610) 2017-08-03 18:33:18 +02:00
.gitignore Cleanup and reorganize core and canvas helpers 2017-06-24 13:28:52 -04:00
.npmignore Make Travis to release the npm package 2016-06-18 12:14:32 +02:00
.travis.yml Rewrite unit test waitForResize helper (#4566) 2017-07-26 13:33:45 +02: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 Fix tests on OSX with retina screen 2017-08-05 10:48:12 -04:00
karma.conf.js Add gulp unittest --coverage argument (#4075) 2017-03-25 18:26:45 +01:00
LICENSE.md Happy new year! 2016-12-31 22:25:55 +00:00
MAINTAINING.md Fix broken links in Maintaining.md 2016-09-12 23:21:40 -04:00
package.json Upgrade dependencies 2017-05-27 10:54:08 -04:00
README.md Update link to documentation for previous versions 2017-07-05 17:31:33 -04:00

Chart.js

Build Status Code Climate Coverage Status

Chart.js on 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.