Open Reytar opened 2 years ago
Not working for me either with v3.37.1 using ApexCharts JS
I can confirm this also doesn't work on other frameworks (or no framework) not just React. It does, however, work if you specify an exact font size, for example '16'. Also note, every other fontSize (that I've encountered) in ApexCharts works with em/rem values, so this is unique to legend.fontSize.
Faced the issue too now with Vue 🤔
Description
When using rem size unit for the legend and title, the font-size returns to default/not visible
Steps to Reproduce
Expected Behavior
Expected to see the font-size grow and shrink based on the rem value (root size)
Actual Behavior
The font size returns to default or shrink/behave weird **Note that the rem units works when using it on the labels style.**
Screenshots
Reproduction Link
https://codesandbox.io/embed/react-basic-example-forked-79ymuf?fontsize=14&hidenavigation=1&theme=dark