From: Evert Timberg Date: Fri, 4 Dec 2015 03:04:00 +0000 (-0500) Subject: Fix draw issue when radar chart dataset has 0 points and hence no children X-Git-Tag: 2.0.0-beta2~25^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d905f19355f5c02492d6c21c50a4d1b891130129;p=thirdparty%2FChart.js.git Fix draw issue when radar chart dataset has 0 points and hence no children --- diff --git a/src/elements/element.line.js b/src/elements/element.line.js index 00ae696cf..805da8c51 100644 --- a/src/elements/element.line.js +++ b/src/elements/element.line.js @@ -161,7 +161,7 @@ } }, this); - if (this._loop) { + if (this._loop && this._children.length > 0) { loopBackToStart(); }