From 5f7f99b211b037a830b33f1cc5d37b2c5357a514 Mon Sep 17 00:00:00 2001 From: Juned Chhipa Date: Mon, 14 Jan 2019 22:13:56 +0530 Subject: [PATCH] fix legend fontSize - fixes #272 --- src/modules/Legend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Legend.js b/src/modules/Legend.js index ab532a4e6..8c453db7b 100644 --- a/src/modules/Legend.js +++ b/src/modules/Legend.js @@ -154,7 +154,7 @@ class Legend { elLegendText.style.color = textColor - elLegendText.style.fontSize = parseFloat(w.config.legend.labels.fontSize) + 'px' + elLegendText.style.fontSize = parseFloat(w.config.legend.fontSize) + 'px' elLegendText.style.fontFamily = fontFamily || w.config.chart.fontFamily Graphics.setAttrs(elLegendText, {