From c4bff1602ecdc4dc8e933bfb946330234181bee6 Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Fri, 6 May 2016 07:19:38 -0400 Subject: [PATCH] Fix line tension drawing, especially when set to 0 --- src/controllers/controller.line.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/controller.line.js b/src/controllers/controller.line.js index ed480f4a0..81733785f 100644 --- a/src/controllers/controller.line.js +++ b/src/controllers/controller.line.js @@ -203,6 +203,7 @@ module.exports = function(Chart) { backgroundColor: this.getPointBackgroundColor(point, index), borderColor: this.getPointBorderColor(point, index), borderWidth: this.getPointBorderWidth(point, index), + tension: meta.dataset._model ? meta.dataset._model.tension : 0, // Tooltip hitRadius: point.custom && point.custom.hitRadius ? point.custom.hitRadius : helpers.getValueAtIndexOrDefault(this.getDataset().pointHitRadius, index, this.chart.options.elements.point.hitRadius) }; -- 2.47.2