Skip to content

Commit e953e8c

Browse files
committed
Return NaN value
1 parent 61355da commit e953e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scales/scale.radialLinear.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ module.exports = LinearScaleBase.extend({
413413
var me = this;
414414

415415
if (helpers.isNullOrUndef(value)) {
416-
value = NaN;
416+
return NaN;
417417
}
418418

419419
// Take into account half font size + the yPadding of the top value

0 commit comments

Comments
 (0)