diff --git a/src/core/core.tooltip.js b/src/core/core.tooltip.js index 048e1a08a69..c099fde810a 100644 --- a/src/core/core.tooltip.js +++ b/src/core/core.tooltip.js @@ -701,10 +701,10 @@ module.exports = function(Chart) { // Inner square ctx.fillStyle = mergeOpacity(vm.labelColors[i].backgroundColor, opacity); ctx.fillRect(pt.x + 1, pt.y + 1, bodyFontSize - 2, bodyFontSize - 2); - var textColor = mergeOpacity(vm.labelTextColors[i], opacity); - ctx.fillStyle = textColor; } + var textColor = mergeOpacity(vm.labelTextColors[i], opacity); + ctx.fillStyle = textColor; fillLineOfText(line); });