JavaScript Shell
Permalink
Failed to load latest commit information.
.github Update the GitHub issue template Oct 11, 2016
docs Added configuration to documentation Feb 25, 2017
samples Refactored drawCaret and drawBackground functions to draw the backgro… Feb 25, 2017
scripts #3033 Deploy dist files and bower.json (tags) Aug 28, 2016
src Fixed built-in auto skip caused by previous commit (#3904) Feb 25, 2017
test Add test for layout service weight ordering Feb 25, 2017
.codeclimate.yml Bump ESLint to v3.x (gulp and Code Climate) (#3526) Oct 29, 2016
.editorconfig Performance and minification improvements May 14, 2016
.eslintignore Update git ignore to make it easier to switch between branches. Add c… Feb 14, 2016
.eslintrc Turn off linebreak-style linting rule Sep 15, 2016
.gitignore Add new dataset update and draw plugin hooks Feb 22, 2017
.npmignore Make Travis to release the npm package Jun 18, 2016
.travis.yml Remove encrypted data from .travis.yml Aug 28, 2016
CONTRIBUTING.md Spelling fixes (#3522) Oct 27, 2016
LICENSE.md Happy new year! Dec 31, 2016
MAINTAINING.md Fix broken links in Maintaining.md Sep 13, 2016
README.md Update installation instructions in README Oct 25, 2016
composer.json Add composer.json Mar 14, 2016
config.jshintrc Fix #2734 Cleanup unused variables Jun 18, 2016
gulpfile.js Ignore .gitignore (and more) from Bower packages Jan 22, 2017
karma.conf.ci.js Update other test tasks to use karma-browserify Feb 14, 2016
karma.conf.js Update other test tasks to use karma-browserify Feb 14, 2016
karma.coverage.conf.js Run coverage properly on the CI Feb 14, 2016
package.json Fix color dependency for builds Feb 22, 2017
thankyou.md Create thankyou.md Jul 29, 2016

README.md

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/#notes-previous-versions.

Contributing

Before submitting an issue or a pull request to the project, 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 and Testing

To build, run gulp build.

To test, run gulp test.

To test against code standards, run gulp lint.

More information on building and testing can be found in gulpfile.js.

Thanks to BrowserStack for allowing our team to test on thousands of browsers.

License

Chart.js is available under the MIT license.