29115c9d2c
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. |
||
---|---|---|
dist | ||
docs | ||
samples | ||
src | ||
test | ||
.codeclimate.yml | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.travis.yml | ||
bower.json | ||
composer.json | ||
config.jshintrc | ||
CONTRIBUTING.md | ||
gulpfile.js | ||
karma.conf.ci.js | ||
karma.conf.js | ||
karma.coverage.conf.js | ||
LICENSE.md | ||
package.json | ||
README.md |
Chart.js
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.