From ea15aaaec23485c5c257617c3ece3e178729e870 Mon Sep 17 00:00:00 2001 From: etimberg Date: Mon, 23 Nov 2015 21:54:45 -0500 Subject: [PATCH] Fix draw issue --- src/core/core.legend.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/core.legend.js b/src/core/core.legend.js index e83f9de4a..ab6943e89 100644 --- a/src/core/core.legend.js +++ b/src/core/core.legend.js @@ -285,6 +285,7 @@ if (dataset.hidden) { // Strikethrough the text if hidden + ctx.beginPath(); ctx.moveTo(this.options.labels.boxWidth + (this.options.labels.fontSize / 2) + cursor.x, cursor.y + (this.options.labels.fontSize / 2)); ctx.lineTo(this.options.labels.boxWidth + (this.options.labels.fontSize / 2) + cursor.x + textWidth, cursor.y + (this.options.labels.fontSize / 2)); ctx.stroke();