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

Problem with resizing in version 3.17 #23

Closed jrluizcarlos closed 3 years ago

jrluizcarlos commented 3 years ago

When using fusioncharts in version 3.17 together with react, I detected resizing problem in svg. I downgraded to version 3.16 and it worked fine.

3.17 - Resizing bug image

3.16 - Resizing OK image

Current dependencies:

"dependencies": {

"fusioncharts": "~3.16.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-fusioncharts": "^3.1.2",

"react-scripts": "4.0.3",

},

Code parts: const chartConfigs = { type: 'angulargauge', width: '100%', height: '210', dataFormat: 'json', dataSource: dataSource }

Note: