diff --git a/src/scales/scale.radialLinear.js b/src/scales/scale.radialLinear.js index 4be5faf1b67..47b1089d93d 100644 --- a/src/scales/scale.radialLinear.js +++ b/src/scales/scale.radialLinear.js @@ -511,7 +511,7 @@ module.exports = LinearScaleBase.extend({ return; } - var startAngle = this.getIndexAngle(0); + var startAngle = me.getIndexAngle(0); var tickFont = helpers.options._parseFont(tickOpts); var tickFontColor = valueOrDefault(tickOpts.fontColor, defaults.global.defaultFontColor); var offset, width; diff --git a/test/fixtures/scale.radialLinear/gridlines-no-z.json b/test/fixtures/scale.radialLinear/gridlines-no-z.json index fdeae64d474..362c519048d 100644 --- a/test/fixtures/scale.radialLinear/gridlines-no-z.json +++ b/test/fixtures/scale.radialLinear/gridlines-no-z.json @@ -2,11 +2,11 @@ "config": { "type": "radar", "data": { - "labels": ["A", "B", "C", "D", "E"], - "datasets": [{ - "backgroundColor": "rgba(255, 0, 0, 1)", - "data": [1,2,3,3,3] - }] + "labels": ["A", "B", "C", "D", "E"], + "datasets": [{ + "backgroundColor": "rgba(255, 0, 0, 1)", + "data": [1,2,3,3,3] + }] }, "options": { "responsive": false, diff --git a/test/fixtures/scale.radialLinear/gridlines-z.json b/test/fixtures/scale.radialLinear/gridlines-z.json index 2aa229a32fc..add497b9a13 100644 --- a/test/fixtures/scale.radialLinear/gridlines-z.json +++ b/test/fixtures/scale.radialLinear/gridlines-z.json @@ -2,11 +2,11 @@ "config": { "type": "radar", "data": { - "labels": ["A", "B", "C", "D", "E"], - "datasets": [{ - "backgroundColor": "rgba(255, 0, 0, 1)", - "data": [1,2,3,3,3] - }] + "labels": ["A", "B", "C", "D", "E"], + "datasets": [{ + "backgroundColor": "rgba(255, 0, 0, 1)", + "data": [1,2,3,3,3] + }] }, "options": { "responsive": false, @@ -16,7 +16,7 @@ "gridLines": { "color": "rgba(0, 0, 0, 1)", "lineWidth": 1, - "z": 1 + "z": 1 }, "angleLines": { "color": "rgba(0, 0, 255, 1)",