Simple HTML5 Charts using the tag
Go to file
2017-02-10 19:30:52 -05:00
.github Update the GitHub issue template 2016-10-11 07:42:26 -04:00
docs Rename chartInstance to chart 2017-02-10 18:37:56 -05:00
samples Rename chartInstance to chart 2017-02-10 18:37:56 -05:00
scripts #3033 Deploy dist files and bower.json (tags) 2016-08-28 18:21:12 +02:00
src When the dataset label is not defined, the tooltip label string should not include a ':' character. Added a test to cover this case. 2017-02-10 19:30:52 -05:00
test When the dataset label is not defined, the tooltip label string should not include a ':' character. Added a test to cover this case. 2017-02-10 19:30:52 -05:00
.codeclimate.yml Bump ESLint to v3.x (gulp and Code Climate) (#3526) 2016-10-29 18:40:27 +02:00
.editorconfig Performance and minification improvements 2016-05-13 22:07:39 -05:00
.eslintignore updates from running code climate locally 2016-02-14 13:25:37 -05:00
.eslintrc Turn off linebreak-style linting rule 2016-09-15 23:10:03 +02:00
.gitignore Fixed Issue with tooltip label display when given null data value (#3528) 2016-11-19 09:29:15 -05:00
.npmignore Make Travis to release the npm package 2016-06-18 12:14:32 +02:00
.travis.yml Remove encrypted data from .travis.yml 2016-08-28 18:21:13 +02:00
composer.json add composer file 2015-11-05 13:36:04 -05:00
config.jshintrc Fix #2734 Cleanup unused variables 2016-06-18 11:00:11 +02:00
CONTRIBUTING.md Spelling fixes (#3522) 2016-10-27 21:18:31 +02:00
gulpfile.js Ignore .gitignore (and more) from Bower packages 2017-01-22 10:31:02 -05:00
karma.conf.ci.js Update other test tasks to use karma-browserify 2016-02-13 21:58:49 -05:00
karma.conf.js Update other test tasks to use karma-browserify 2016-02-13 21:58:49 -05:00
karma.coverage.conf.js Run coverage properly on the CI 2016-02-14 09:48:24 -05: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 bump version number 2017-01-28 11:33:14 -05:00
README.md Update installation instructions in README 2016-10-25 15:04:58 +00:00
thankyou.md Create thankyou.md 2016-07-28 23:44:22 -06: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/#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.