]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Polar Area now uses new scale.update method
authorTanner Linsley <tannerlinsley@gmail.com>
Thu, 24 Sep 2015 19:07:32 +0000 (13:07 -0600)
committerTanner Linsley <tannerlinsley@gmail.com>
Thu, 24 Sep 2015 19:07:32 +0000 (13:07 -0600)
src/controllers/controller.polarArea.js

index d832f09d18e924b01e016a0dc367d36e3f9b4dd9..29634c4773065f023c20b9a426fad6e31e102261 100644 (file)
@@ -81,7 +81,7 @@
 
                update: function(reset) {
 
-                       Chart.scaleService.fitScalesForChart(this, this.chart.width, this.chart.height);
+                       Chart.scaleService.update(this, this.chart.width, this.chart.height);
                        //this.chart.scale.setScaleSize();
                        this.chart.scale.calculateRange();
                        this.chart.scale.generateTicks();