mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
Simple HTML5 Charts using the tag
650956b2e1
* Create a new hook to enable data decimation The `beforeElementUpdate` hook can be used to decimate data. The chart elements will not be created until after this hook has fired ensuring that if decimation occurs, only the needed elements will be created. * Address code review feedback * Rename hook to beforeElementsUpdate * Simplify parsing logic * Add decimation plugin to the core * Allow a dataset to specify a different data key * Decimation plugin uses the dataKey feature * Refactor the decimation plugin to support configurable algorithms * Lint the plugin changes * Tests for the dataKey feature * Convert test files to tabs * Standardize on tabs in ts files * Remove the dataKey feature * Replace dataKey usage in decimation plugin We define a new descriptor for the `data` key allowing the plugin to be simpler. * Disable decimation when indexAxis is Y * Simplify the decimation width approximation * Resolve the indexAxis correctly in all cases * Initial documentation * Reverse check * Update TS definitions for new plugin options * Move defineProperty after bailouts * Add destroy hook |
||
---|---|---|
.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
Currently, there are two versions of the library (2.9.4 and 3.x.x). Version 2 is the latest stable version while 3 is the next (currently beta) version. As such bear the following in mind:
- Current docs points to version 2.9.4
- Npm/CDN/etc point to version 2.9.4 (unless you explicitly set newer version, e.g. npm next)
- Source currently points to 3.x.x version. 2.9.4 source is available here
- Docs for version 3.x.x are available here
- 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.