From: Evert Timberg Date: Sun, 15 Nov 2015 16:16:17 +0000 (-0500) Subject: Keep this as NaN so point._view.skip is set correctly X-Git-Tag: 2.0.0-beta1~25^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=045d8f6c2a00fb9375afb7cc0566a7eec0d7297f;p=thirdparty%2FChart.js.git Keep this as NaN so point._view.skip is set correctly --- diff --git a/src/scales/scale.radialLinear.js b/src/scales/scale.radialLinear.js index 4d622cc98..19f310ec2 100644 --- a/src/scales/scale.radialLinear.js +++ b/src/scales/scale.radialLinear.js @@ -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 }