Simple HTML5 Charts using the tag
Go to file
2017-04-15 09:27:27 -04:00
.github Update the GitHub issue template 2016-10-11 07:42:26 -04:00
docs scale service - respect new weight scale option for axes ordering (#4094) 2017-04-04 19:42:25 -04:00
samples Fix broken link to point to correct sample file. 2017-04-15 09:27:27 -04:00
scripts #3033 Deploy dist files and bower.json (tags) 2016-08-28 18:21:12 +02:00
src Fix and refactor bar controllers 2017-04-08 13:40:21 -04:00
test Fix and refactor bar controllers 2017-04-08 13:40:21 -04:00
.codeclimate.yml Reorganize samples and list them in index.html (#4043) 2017-03-20 20:40:44 -04:00
.editorconfig Performance and minification improvements 2016-05-13 22:07:39 -05: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 Turn off linebreak-style linting rule 2016-09-15 23:10:03 +02:00
.gitignore Update the docs structure/content to use GitBook (#3751) 2017-03-20 20:36:54 -04:00
.npmignore Make Travis to release the npm package 2016-06-18 12:14:32 +02:00
.travis.yml Add gulp unittest --coverage argument (#4075) 2017-03-25 18:26:45 +01:00
book.json Update the docs structure/content to use GitBook (#3751) 2017-03-20 20:36:54 -04:00
composer.json add composer file 2015-11-05 13:36:04 -05:00
CONTRIBUTING.md Spelling fixes (#3522) 2016-10-27 21:18:31 +02:00
gulpfile.js Add gulp unittest --coverage argument (#4075) 2017-03-25 18:26:45 +01: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 Update the docs structure/content to use GitBook (#3751) 2017-03-20 20:36:54 -04:00
README.md Add gulp unittest --coverage argument (#4075) 2017-03-25 18:26:45 +01: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, 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.