FPolicastro

Charts and Maps in the same page

Recommended Posts

Hi,

 

 

 

My company just recently bought your entire suite of products and we're happy so far, however I just encountered a problem I could use some help on.

 

 

 

I have a small application that renders 1 stacked bar chart and 3 pie charts with no problem.

 

I tried to add 1 map to my application and now I get javascript errors up near the includes for the Fusion.js files.

 

 

 

Is there anything special I have to do to have a chart and a map on the same page?

 

 

 

Thanks,

 

Frank

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello Frank,

Welcome to the FusionCharts Forum. :(

Could you please add the FusionMaps JScript Script File on that same page and try again?

The JS file can be found in the FusionMaps Pack in the JSClass folder.

I hope this helps. :(

Share this post


Link to post
Share on other sites

This is what I have right now. Do I need the ExportComponent.js file as well?

 

 

 

I can attach my entire page of code as well, if needed, just let me know.

 

 

 

 

 

 

Broker 20/25

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

Hi,

I have the same problem but I can see that for the charts I have to create a

FusionChartsExportObject while for the maps I have to create a

FusionMapsExportObject.

Can I create the 2 objects but render the same div?

Or is there another way?

Share this post


Link to post
Share on other sites

Hi ,

I solved the problem

To export charts I create an array with chartId of charts that I want to export.

So I only added the maps id to the array and these attributues on the xmlConfiguration of map :

exportAtClient='1' exportHandler='exportComponent' exportEnable='1'

I didn't added any other .js file in my application

I hope this help

Bye

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