From: Evert Timberg Date: Sun, 8 May 2016 01:04:39 +0000 (-0400) Subject: Improvements to polar area controller. Moved common draw code up to core dataset... X-Git-Tag: v2.1.4~32^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=166801055e95f283ac33ad1ea6e03e58e2f9d30f;p=thirdparty%2FChart.js.git Improvements to polar area controller. Moved common draw code up to core dataset controller --- diff --git a/src/controllers/controller.doughnut.js b/src/controllers/controller.doughnut.js index e22abda2a..8a68a68cf 100644 --- a/src/controllers/controller.doughnut.js +++ b/src/controllers/controller.doughnut.js @@ -269,13 +269,6 @@ module.exports = function(Chart) { arc.pivot(); }, - draw: function(ease) { - var easingDecimal = ease || 1; - helpers.each(this.getMeta().data, function(arc, index) { - arc.transition(easingDecimal).draw(); - }); - }, - removeHoverStyle: function(arc) { Chart.DatasetController.prototype.removeHoverStyle.call(this, arc, this.chart.options.elements.arc); }, diff --git a/src/controllers/controller.polarArea.js b/src/controllers/controller.polarArea.js index 0b64c9248..eb0f5c598 100644 --- a/src/controllers/controller.polarArea.js +++ b/src/controllers/controller.polarArea.js @@ -22,11 +22,15 @@ module.exports = function(Chart) { var text = []; text.push('