From: Tore Lervik Date: Wed, 23 Dec 2015 14:29:25 +0000 (+0100) Subject: Fixed build error bug with getting tension X-Git-Tag: 2.0.0-beta2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1826%2Fhead;p=thirdparty%2FChart.js.git Fixed build error bug with getting tension --- diff --git a/src/elements/element.line.js b/src/elements/element.line.js index 78e8e2f3f..8641a9631 100644 --- a/src/elements/element.line.js +++ b/src/elements/element.line.js @@ -37,7 +37,7 @@ skipHandler.call(this, previousPoint, point, nextPoint); } else if (previousPoint._view.skip) { previousSkipHandler.call(this, previousPoint, point, nextPoint); - } else if (this._chart.config.options.elements.line.tension === 0) { + } else if (point._view.tension === 0) { ctx.lineTo(point._view.x, point._view.y); } else { // Line between points