Skip to content

Commit

Permalink
Fix review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle committed May 7, 2019
1 parent c703630 commit 7595a10
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/scales/scale.radialLinear.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
10 changes: 5 additions & 5 deletions test/fixtures/scale.radialLinear/gridlines-no-z.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
12 changes: 6 additions & 6 deletions test/fixtures/scale.radialLinear/gridlines-z.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -16,7 +16,7 @@
"gridLines": {
"color": "rgba(0, 0, 0, 1)",
"lineWidth": 1,
"z": 1
"z": 1
},
"angleLines": {
"color": "rgba(0, 0, 255, 1)",
Expand Down

0 comments on commit 7595a10

Please sign in to comment.