alexfe

Displaying Fusioncharts And Powercharts In The Same Page

Recommended Posts

Hi, I have a question, what should I do whether I need to display a FusionCharts' chart and a PowerCharts' chart on the same HTML page?

If I set:

<script type="text/javascript" language="javascript" src="fusionCharts/FusionCharts.js"></script>

<script type="text/javascript" language="javascript" src="powerCharts/FusionCharts.js"></script>

 

The fusionChart is displayed correctly, but the powerChart is not displayed and I get this error:

Uncaught JavaScript exception [Error loading script] in http://....../fusionCharts/FusionCharts.HC.PowerCharts.js, line 1

 

I don't want to use a HTML page with frames or things like that, I need this working on a simple HTML page.

 

Thanks in advance.

Share this post


Link to post
Share on other sites
Guest Bindhu

Hi,

 

Welcome to the FusionCharts Forum :)

 

Thank you for the post.

 

You may just include any one of the files.

 

The FusionCharts.js file is common to all the packages.

 

Please make sure that you have placed all the other JavaScript files from both FusionCharts and PowerCharts packages, along side FusionCharts.js file.

 

Hope this helps!

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