From 10f01088e43f6632c0fbb977c43dfae4996c7dcc Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Wed, 1 Jun 2016 07:18:27 -0400 Subject: [PATCH] add afterDatasetDraw in correct place --- src/core/core.controller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/core.controller.js b/src/core/core.controller.js index 195475514..0e103d2bd 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -297,12 +297,12 @@ module.exports = function(Chart) { } }, this, true); - Chart.pluginService.notifyPlugins('afterElementDraw', [this, easingDecimal]); + Chart.pluginService.notifyPlugins('afterDatasetDraw', [this, easingDecimal]); // Finally draw the tooltip this.tooltip.transition(easingDecimal).draw(); - Chart.pluginService.notifyPlugins('afterDatasetDraw', [this, easingDecimal]); + Chart.pluginService.notifyPlugins('afterDraw', [this, easingDecimal]); }, // Get the single element that was clicked on -- 2.47.2