From 6e5707164868350d6af62afb0fef934b889e6d79 Mon Sep 17 00:00:00 2001 From: Jerome Touffe-Blin Date: Sun, 26 Mar 2017 13:44:26 +1100 Subject: [PATCH] Fix inconsistent aspect ratio --- src/controllers/controller.doughnut.js | 1 - src/controllers/controller.polarArea.js | 1 - src/controllers/controller.radar.js | 1 - test/specs/platform.dom.tests.js | 5 +++++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/controllers/controller.doughnut.js b/src/controllers/controller.doughnut.js index 3d478058279..2abac3b9873 100644 --- a/src/controllers/controller.doughnut.js +++ b/src/controllers/controller.doughnut.js @@ -12,7 +12,6 @@ module.exports = function(Chart) { // Boolean - Whether we animate scaling the Doughnut from the centre animateScale: false }, - aspectRatio: 1, hover: { mode: 'single' }, diff --git a/src/controllers/controller.polarArea.js b/src/controllers/controller.polarArea.js index 7db8935b317..ecf2ac62cc1 100644 --- a/src/controllers/controller.polarArea.js +++ b/src/controllers/controller.polarArea.js @@ -29,7 +29,6 @@ module.exports = function(Chart) { }, startAngle: -0.5 * Math.PI, - aspectRatio: 1, legendCallback: function(chart) { var text = []; text.push('