Sign in to follow this  
Guest Rajroop

Export to image/Pdf problem

Recommended Posts

I am trying to Export my doughnut2d chart as image or PDF. I am able to see the "waiting" button below the chart, also it completes capturing, but FC_ExportReady() is not fired on completion of capturing. Also "waiting" button is not changed to "Save". I must say sample is working fine. I am doing something wrong in my application.

 

 

 

1) Any thoughts of what could be wrong here?

 

 

 

Rob

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Please accept our apologies for the delay in the reply!

 

 

 

Could you please try setting the Flash Player Global Security Settings , if you are running the application from local file system?

 

 

 

Please follow the steps in the following link:

 

http://www.fusioncharts.com/forum/FindPost8077.aspx

 

 

 

:)

Share this post


Link to post
Share on other sites

Hi Rajroop,

 

 

 

I am using setDataXML() function, I am preparing in JS all the properties and finally giving it to setDataXML(). In your samples you have used setDataURL(), To test this, I hardcoded all the values which I am using and then called in HTML file itself and it worked!

 

 

 

Is it correct to use setDataXML() in this way? I am doing the 'new FusionCharts()' as well as 'new FusionChartsExportObject()' in JS files itself. Also the containing 'div' for the chart is created dynamically.

 

 

 

Am I missing anything here?

Share this post


Link to post
Share on other sites

Hello Robert,

 

 

 

If you have enable the Flash Global Security settings and it is still not working, could you please send us your code so that we may take a look at what might be going wrong?

 

 

 

Please send it as an attachment here? :)

 

 

 

Awaiting your reply.

Share this post


Link to post
Share on other sites

Hi,

 

 

 

I had made a mistake while adding to DOM, Its now working fine in Windows XP.

 

 

 

But there seems to be problem with Vista systems. After exporting, "Save" button is coming but, nothing happens on clicking of "Save". The popup which asks us where to save is not coming in Vista systems only. Also I am accessing through Apache, not directly in local file system. I am trying this with "callback.html" that comes along with FusionCharts.

 

 

 

Any idea why this is happening? I tried with 3 Vista systems and it is reproduceable in all the systems with this sample.

Share this post


Link to post
Share on other sites

I do have flash player 10 installed.

 

 

 

Also the Flash Player Global Security Settings are done.

 

 

 

 

 

FC_Exported is getting fired but FC_ExportReady() is not getting fired.

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Could you please send us the code snippet where you are using the event?

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
Sign in to follow this