]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fixed build error bug with getting tension 1826/head
authorTore Lervik <tore@lervik.com>
Wed, 23 Dec 2015 14:29:25 +0000 (15:29 +0100)
committerTore Lervik <tore@lervik.com>
Wed, 23 Dec 2015 14:29:25 +0000 (15:29 +0100)
src/elements/element.line.js

index 78e8e2f3feb4feb5e2287a5201fc8dde2c2d2e23..8641a96316c65e5a959dbdb22afe60735a96ef41 100644 (file)
@@ -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