Skip to content

Commit 7595a10

Browse files
committed
Fix review issues
1 parent c703630 commit 7595a10

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

src/scales/scale.radialLinear.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ module.exports = LinearScaleBase.extend({
511511
return;
512512
}
513513

514-
var startAngle = this.getIndexAngle(0);
514+
var startAngle = me.getIndexAngle(0);
515515
var tickFont = helpers.options._parseFont(tickOpts);
516516
var tickFontColor = valueOrDefault(tickOpts.fontColor, defaults.global.defaultFontColor);
517517
var offset, width;

test/fixtures/scale.radialLinear/gridlines-no-z.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"config": {
33
"type": "radar",
44
"data": {
5-
"labels": ["A", "B", "C", "D", "E"],
6-
"datasets": [{
7-
"backgroundColor": "rgba(255, 0, 0, 1)",
8-
"data": [1,2,3,3,3]
9-
}]
5+
"labels": ["A", "B", "C", "D", "E"],
6+
"datasets": [{
7+
"backgroundColor": "rgba(255, 0, 0, 1)",
8+
"data": [1,2,3,3,3]
9+
}]
1010
},
1111
"options": {
1212
"responsive": false,

test/fixtures/scale.radialLinear/gridlines-z.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"config": {
33
"type": "radar",
44
"data": {
5-
"labels": ["A", "B", "C", "D", "E"],
6-
"datasets": [{
7-
"backgroundColor": "rgba(255, 0, 0, 1)",
8-
"data": [1,2,3,3,3]
9-
}]
5+
"labels": ["A", "B", "C", "D", "E"],
6+
"datasets": [{
7+
"backgroundColor": "rgba(255, 0, 0, 1)",
8+
"data": [1,2,3,3,3]
9+
}]
1010
},
1111
"options": {
1212
"responsive": false,
@@ -16,7 +16,7 @@
1616
"gridLines": {
1717
"color": "rgba(0, 0, 0, 1)",
1818
"lineWidth": 1,
19-
"z": 1
19+
"z": 1
2020
},
2121
"angleLines": {
2222
"color": "rgba(0, 0, 255, 1)",

0 commit comments

Comments
 (0)