From: etimberg Date: Tue, 24 Nov 2015 02:54:45 +0000 (-0500) Subject: Fix draw issue X-Git-Tag: 2.0.0-beta2~25^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea15aaaec23485c5c257617c3ece3e178729e870;p=thirdparty%2FChart.js.git Fix draw issue --- 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();