mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Simple HTML5 Charts using the tag
cdfdc3c3e2
Added the draw method to "Writing new chart types". If you use the template without the draw method, you get an undefined error because Chart.Type.prototype.render calls this.draw() on line 808 in Chart.Core.js. |
||
---|---|---|
docs | ||
samples | ||
src | ||
.gitignore | ||
bower.json | ||
Chart.js | ||
Chart.min.js | ||
gulpfile.js | ||
LICENSE.md | ||
package.json | ||
README.md |
Chart.js
Simple HTML5 Charts using the canvas element chartjs.org
Documentation
You can find documentation at 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.
License
Chart.js is available under the MIT license.
Bugs & issues
When reporting bugs or issues, if you could include a link to a simple jsbin or similar demonstrating the issue, that'd be really helpful.
Contributing
New contributions to the library are welcome, just a couple of guidelines:
- Tabs for indentation, not spaces please.
- Please ensure you're changing the individual files in
/src
, not the concatenated output in theChart.js
file in the root of the repo. - Please check that your code will pass
jshint
code standards,gulp jshint
will run this for you. - Please keep pull requests concise, and document new functionality in the relevant
.md
file. - Consider whether your changes are useful for all users, or if creating a Chart.js extension would be more appropriate.
- Please avoid committing in the build Chart.js & Chart.min.js file, as it causes conflicts when merging.