Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react';
import ReactDOM from 'react-dom';
import react_fc from 'react-fusioncharts';
import FusionCharts from 'fusioncharts';
import charts from 'fusioncharts/fusioncharts.charts';
import maps from 'fusioncharts/fusioncharts.maps';
import usaMap from 'fusioncharts/maps/fusioncharts.usa';
import TM from 'fusioncharts/themes/fusioncharts.theme.fint';
// Load the charts, maps, usaMap module pass FusionCharts as dependency
charts(FusionCharts);
maps(FusionCharts);
usaMap(FusionCharts);
FusionCharts.ready(function () {
var myDataSource = {
"chart": {
"theme": "fint",
"caption": "Shipping Volume and Costs",
"subcaption": "Harry's SuperMart Distribution Network - Last Month",
"showMarkerLabels":"0",
"numberSuffix": "%",
//Changing connector hover color
"connectorHoverColor": "#f8bd19",
//Changing connector hover thickness
"connectorHoverThickness": "3",
//Enabling entity hover effect
//Enabling marker hover effect
"showMarkerHoverEffect": "1",
import React from 'react';
import ReactDOM from 'react-dom';
import ReactFC from 'react-fusioncharts';
import FusionCharts from 'fusioncharts';
import charts from 'fusioncharts/fusioncharts.charts';
import maps from 'fusioncharts/fusioncharts.maps';
import usaMap from 'fusioncharts/maps/fusioncharts.usa';
import TM from 'fusioncharts/themes/fusioncharts.theme.fint';
// Load the charts, maps, usaMap module pass FusionCharts as dependency
charts(FusionCharts);
maps(FusionCharts);
usaMap(FusionCharts);
FusionCharts.ready(function () {
var myDataSource = {
"chart": {
"theme": "fint",
"caption": "Shipping Volume and Costs",
"subcaption": "Harry's SuperMart Distribution Network - Last Month",
"showMarkerLabels":"0",
"numberSuffix": "%",
//Changing connector hover color
"connectorHoverColor": "#f8bd19",
//Changing connector hover thickness
"connectorHoverThickness": "3",
//Enabling entity hover effect
//Enabling marker hover effect
"showMarkerHoverEffect": "1",