Closed rbudnar closed 3 years ago
Summary
Prior to version 1.2.0 (I was on v1.1.42), I was able to customize the legend font's weight. I set it to extra light with the following call:
const legend = this.chart.getLegend(); legend.setFont(new Font("serif", 10, FontStyle.ITALIC, FontWeight.EXTRA_LIGHT));
When I upgraded to 1.2.0 (and also 1.2.2), font weight is no longer respected. Font size and families generally work as expected, though.
Prior to upgrade: After upgrade, no code changes: None of the FontWeight values make any difference in the output with library version 1.2.0.
Expected Behavior Font weight should be respected.
Possible Solution
Device (please complete the following information):
Additional Context I haven't had time to dig into the source yet but will try to later if I have time.
@rbudnar thanks for the report. fixed in 1.2.3
@farfromrefug Thanks so much for the quick turn around on this, looks like its working great - I appreciate all the work you do with your plugins!
Summary
Prior to version 1.2.0 (I was on v1.1.42), I was able to customize the legend font's weight. I set it to extra light with the following call:
When I upgraded to 1.2.0 (and also 1.2.2), font weight is no longer respected. Font size and families generally work as expected, though.
Prior to upgrade: After upgrade, no code changes: None of the FontWeight values make any difference in the output with library version 1.2.0.
Expected Behavior Font weight should be respected.
Possible Solution
Device (please complete the following information):
Additional Context I haven't had time to dig into the source yet but will try to later if I have time.