Skip to content

Commit

Permalink
fix legend fontSize - fixes #272
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Jan 14, 2019
1 parent 00e3332 commit 5f7f99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 5f7f99b

Please sign in to comment.