]> git.ipfire.org Git - thirdparty/Chart.js.git/commit
New datasets update plugin extensions 2752/head
authorSimon Brunel <simonbrunel@users.noreply.github.com>
Fri, 10 Jun 2016 22:14:27 +0000 (00:14 +0200)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Fri, 10 Jun 2016 22:17:48 +0000 (00:17 +0200)
commit53eb7667dd25f53fbf0d65e28370b32d90ab9448
tree4b6318d49e62369a15d48f4e7790e7057a3c15ee
parentdfdbd4465c6d35760aca60e7ff9bc58b62ac7cb9
New datasets update plugin extensions

Add `beforeDatasetsUpdate` and `afterDatasetsUpdate` plugin notifications during the chart update. Plugins are able to cancel the datasets update by explicitly returning false to `beforeDatasetsUpdate`. For consistency, rename `(before|after)DatasetDraw` to `(before|after)DatasetsDraw`.
docs/09-Advanced.md
src/core/core.controller.js
src/core/core.plugin.js