Problem with resizing in version 3.17
jrluizcarlos opened this issue · 0 comments
jrluizcarlos commented
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.
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:
- Parent divs contain 100% width
- Chart is wrapped in bootstrap grid