Skip to content

Commit

Permalink
Keep this as NaN so point._view.skip is set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Nov 15, 2015
1 parent 9c78de1 commit 045d8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scales/scale.radialLinear.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
return index * angleMultiplier - (Math.PI / 2);
},
getDistanceFromCenterForValue: function(value) {
if (value === null || value === undefined || isNaN(value)) {
if (value === null) {
return 0; // null always in center
}

Expand Down

0 comments on commit 045d8f6

Please sign in to comment.