Simple HTML5 Charts using the tag
Go to file
Simon Brunel 82b1e5cd99 Handle effective dataset visibility per chart
Introduced a new meta.hidden 3 states flag (null|true|false) to be able to override dataset.hidden when interacting with the chart (i.e., true or false to ignore the dataset.hidden value). This is required in order to be able to correctly share dataset.hidden between multiple charts.

For example: 2 charts are sharing the same data and dataset.hidden is initially false: the dataset will be displayed on both charts because meta.hidden is null. If the user clicks the legend of the first chart, meta.hidden is changed to true and the dataset is only hidden on the first chart. If dataset.hidden changes, only the second chart will have the dataset visibility updated and that until the user click again on the first chart legend, switching the meta.hidden to null.
2016-04-26 12:46:27 +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 effective dataset visibility per chart 2016-04-26 12:46:27 +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.