SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 1 JavaScript

Make Chart.controllers.* importable (#5871)

`controllers.*.js` and `core.datasetController.js` are now importable (no more function export), that's why there is so many changes mainly due to one indentation level removed. Split code for `bar/horizontalBar` and `doughnut/pie` in separate files, added a global controllers import (`src/controllers/index.js`) and add tests to check that all dataset controllers are correctly registered under `chart.controllers.{type}`.
S
Simon Brunel committed
be8d78a900b560a1dbd465a29736063e4e8fa4ef
Parent: c84d249
Committed by GitHub <noreply@github.com> on 11/29/2018, 8:06:34 PM