Simple HTML5 Charts using the tag
Go to file
Simon Brunel 29115c9d2c Handle data visibility per chart
New Chart.Element.hidden bool flag storing the visibility state of its associated data. Since elements belong to a specific chart, this change allows to manage data visibility per chart (e.g. when clicking the legend of some charts).

This commit also changes (fixes?) the polar chart animation when data visibility changes. Previous implementation was affected by an edge effect due to the use of NaN as hidden implementation.
2016-04-26 12:46:29 +02:00
dist New built files 2016-04-24 19:24:53 -04:00
docs Added default ("left") for position field in global scale defaults. 2016-04-26 03:09:35 +02:00
samples Add an example showcasing the different point size options 2016-04-21 16:03:47 +02:00
src Handle data visibility per chart 2016-04-26 12:46:29 +02:00
test Add testcases for the consistent dataset-specific option names "pointRadius" and "pointHitRadius" 2016-04-21 15:39:19 +02:00
.codeclimate.yml Remove unnecessary line from code climate config 2016-04-16 20:34:21 -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 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
.gitignore 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
.travis.yml Fix build and update to latest node js version. 2016-04-21 07:50:20 -04:00
bower.json 2.0.2 2016-04-16 17:39:51 -05:00
composer.json Add composer.json 2016-03-14 23:41:04 +00:00
config.jshintrc Improve joshing reporting. Added a JSHint config file. 2016-02-13 20:12:26 -05:00
CONTRIBUTING.md Fix old broken links and update for new repo 2016-04-25 09:18:49 -04:00
gulpfile.js Update gulpfile.js 2016-04-25 13:18:25 -04: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 Add title of license to license file. Fixes #2097 2016-03-13 10:20:24 -04:00
package.json Update package.json 2016-04-25 11:13:50 -04:00
README.md Update README.md 2016-04-25 09:21:39 -04:00

Chart.js

Build Status Code Climate Coverage Status

Chart.js on Slack

Simple HTML5 Charts using the canvas element chartjs.org

Installation

To download a zip, go to the Chart.js on Github

To install via npm / bower:

npm install chart.js --save
bower install Chart.js --save

CDN: https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.0.0/Chart.js

Documentation

You can find documentation at www.chartjs.org/docs. The markdown files that build the site are available under /docs. Please note - in some of the json examples of configuration you might notice some liquid tags - this is just for the generating the site html, please disregard.

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

gulp build, gulp test

License

Chart.js is available under the MIT license.