mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
afterScaleUpdate
Following a Slack conversation tadd new Callback to allow updates to datasets config (ie borderColor) based on results of the calculated scale, A typical use case would be apply a Gradient fill. On branch feature_New_plugin_interface_afterScaleUpdate Changes to be committed: modified: dist/Chart.bundle.js modified: dist/Chart.bundle.min.js
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.1.2/Chart.min.js
Documentation
You can find documentation at www.chartjs.org/docs. The markdown files that build the site are available under /docs. Previous version documentation is available at www.chartjs.org/docs/#notes-previous-versions.
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.
Description
Languages
JavaScript
89%
TypeScript
10.6%
Shell
0.2%
HTML
0.2%