fusioncharts / fusioncharts-dist

FusionCharts JavaScript Charting library. Over 95+ charts and 1,400+ maps to choose from, with integrations available for all popular JavaScript frameworks & back-end programming languages.
https://www.fusioncharts.com
Other
84 stars 46 forks source link

Incorrect msarea graph rendering inside hidden container v3.18.0 #37

Open raman-nareika opened 2 years ago

raman-nareika commented 2 years ago

Hi. I have 2 tabs with graphs:

Tabs visibility toggles via display: hidden;

When I call update from the Line Graph tab both graphs are updated correctly. image

But if I call update from the Investments tab (the Line Graph tab is hidden) msarea chart is incorrect: image

Backend responses are equal:

So, the incorrect rendering of msarea chart occurs only if a container is hidden. The issue was reproduced for v3.16.0 and v3.18.0