Yasmine

FusionChart showing '' Loading chart. Please wait'' when rendered (React JS)

Recommended Posts

Hello everyone,

I am new to FusionCharts and I am currently working on implementing a multilevelpie chart. I added the dataSource into state so that I can manipulate it later and I am simply rendering it. All I am  seeying is  "Loading chart. Please wait" and it doesn't change.

I already tried verifing the location of the js files in the nodes_modules and I installed flash_player but nothing has changed.

The code is in the App.js file. and the screen shot of what I am seeying .

Node version: 12.16.2

Could you please me to solve this problem.

thank you

screenshot.PNG

App.js

Edited by Yasmine

Share this post


Link to post
Share on other sites

Hi,

Please import fusioncharts.powercharts.js to resolve the problem

import FusionCharts from 'fusioncharts';
import PowerCharts from 'fusioncharts/fusioncharts.powercharts';
import FusionTheme from 'fusioncharts/themes/fusioncharts.theme.fusion';
import ReactFC from 'react-fusioncharts';

ReactFC.fcRoot(FusionCharts, PowerCharts, FusionTheme);

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now