From 928532a319f09db832b4e7c713c6d6d011530b2f Mon Sep 17 00:00:00 2001 From: Akihiko Kusanagi Date: Thu, 22 Jun 2017 16:25:56 -0700 Subject: [PATCH] Add description on new dataset update and draw plugin hooks --- docs/developers/plugins.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/developers/plugins.md b/docs/developers/plugins.md index 467759f28bd..f0a1d95663d 100644 --- a/docs/developers/plugins.md +++ b/docs/developers/plugins.md @@ -106,7 +106,7 @@ var chart = new Chart(ctx, { ## Plugin Core API -Available hooks (as of version 2.5): +Available hooks (as of version 2.6): * beforeInit * afterInit @@ -116,12 +116,16 @@ Available hooks (as of version 2.5): * afterLayout * beforeDatasetsUpdate *(cancellable)* * afterDatasetsUpdate +* beforeDatasetUpdate *(cancellable)* +* afterDatasetUpdate * beforeRender *(cancellable)* * afterRender * beforeDraw *(cancellable)* * afterDraw * beforeDatasetsDraw *(cancellable)* * afterDatasetsDraw +* beforeDatasetDraw *(cancellable)* +* afterDatasetDraw * beforeEvent *(cancellable)* * afterEvent * resize