mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Simple HTML5 Charts using the tag
efbaf2c082
* Update type definitions and docs for legends * Fix types for onHover and onClick callbacks core.controller.js's implementation also passes the Chart instance as `this`. However, that isn't documented, and it's my impression that Chart.js is moving away from passing items as `this`, so I didn't declare it in the type definitions. * Allow multi-line ticks * Stricter DeepPartial definition The previous definition resolved to `{}` (which can allow primitives) if it was given a function, so it was far too broad for any `Scriptable<>` properties. * Grammar and writing style * Updates to animation docs Document the `fn` option, since it's in the type definitions. Fix callback usage to match example code. * Fix AnimationEvent parameter The onProgress and onComplete events were mistakenly declared as taking the standard DOM AnimationEvent. (Should Chart.js's AnimationEvent be renamed to ChartAnimationEvent to avoid any possible ambiguity?) * Allow false for disabling animations * Add comments explaining the layout and usage of Rollup |
||
---|---|---|
.github | ||
docs | ||
helpers | ||
samples | ||
scripts | ||
src | ||
test | ||
types | ||
.browserslistrc | ||
.codeclimate.yml | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.yml | ||
.gitignore | ||
.htmllintrc | ||
composer.json | ||
karma.conf.js | ||
LICENSE.md | ||
MAINTAINING.md | ||
package-lock.json | ||
package.json | ||
README.md | ||
rollup.config.js | ||
tsconfig.json |
Simple yet flexible JavaScript charting for designers & developers
Documentation
- Introduction
- Getting Started
- General
- Configuration
- Charts
- Axes
- Developers
- Popular Extensions
- Samples
Contributing
Instructions on building and testing Chart.js can be found in the documentation. Before submitting an issue or a pull request, please take a moment to look over the contributing guidelines first. For support, please post questions on Stack Overflow with the chartjs
tag.
License
Chart.js is available under the MIT license.