From: Tanner Linsley Date: Tue, 16 Jun 2015 05:58:31 +0000 (-0600) Subject: Single scale again. X-Git-Tag: 2.0.0-alpha3~10^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c749e78b2a72e024c386cdc44ecb1e92d158239;p=thirdparty%2FChart.js.git Single scale again. --- diff --git a/src/core/core.controller.js b/src/core/core.controller.js index 562978f13..242d19356 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -124,7 +124,7 @@ if (this.options.scale) { // Build radial axes - var ScaleClass = Chart.scaleService.getScaleConstructor(axisOptions.type); + var ScaleClass = Chart.scaleService.getScaleConstructor(this.options.scale.type); var scale = new ScaleClass({ ctx: this.chart.ctx, options: axisOptions,