I get chart data from the api, most of them are line chart
import FusionCharts from "fusioncharts";
import Charts from "fusioncharts/fusioncharts.charts";
import FusionTheme from "fusioncharts/themes/fusioncharts.theme.candy";
import ReactFC from "react-fusioncharts";
ReactFC.fcRoot(FusionCharts, Charts, FusionTheme);
"fusioncharts": "^3.17.0",
"react-fusioncharts": "^3.1.2",