From 83d447f317cebeb8c2445abfc8b5e17e0187e698 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 5 Nov 2019 04:10:01 -0800 Subject: [PATCH] Fix doughnut sample (#6690) --- src/core/core.controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/core.controller.js b/src/core/core.controller.js index df7156172..ad841ca6e 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -449,7 +449,7 @@ helpers.extend(Chart.prototype, /** @lends Chart */ { }, /** - * Resets the chart back to it's state before the initial animation + * Resets the chart back to its state before the initial animation */ reset: function() { this.resetElements(); @@ -460,6 +460,8 @@ helpers.extend(Chart.prototype, /** @lends Chart */ { var me = this; var i, ilen; + config = config || {}; + updateConfig(me); // plugins options references might have change, let's invalidate the cache -- 2.47.2