aman0711

Save as image/pdf/png/jpeg working fine on Firefox but not on IE

Recommended Posts

Hi Experts,

 

 

 

We recently upgraded to version 3.1. and after some hard attempts, we finally made the saving capability to be working for our charts. But All the options, Save as pdf, Save as JPEG, Save as PNG, only work with Firefox, When I try to save the same in IE, after the data capturing step, all I can see is a Blank FCExporter.jsp.

 

 

 

Your help is highly appreciated.

Share this post


Link to post
Share on other sites

Hi Aman,

Continuing from Sudipto's post,

in order to save image on server, make the following changes:

1. In the xml the attribute exportAction should have value "save"

2. Create a directory called images (if it does not already exist) in the web app root folder. The location to images folder is specified in the properties file, SAVEPATH property.

Srividya

Edited by Guest

Share this post


Link to post
Share on other sites

Thanks for the help folks...

 

I will try it real quick and get back to you with results.

 

 

 

would saving image on the server make any difference? Because Firefox is already working fine.

 

My IE versions are IE6, and IE7

Share this post


Link to post
Share on other sites

@ Sudipto,

 

 

 

I guess I have all the plugins. Srividya has helped me a lot in past few days, and only with her help I got where I am right now :)

 

 

 

but today, after trying to save it on the server, even the regular save on fireFox stopped working :P

Share this post


Link to post
Share on other sites

Hi Srividya,

 

 

 

I did check the folder. Nothing is being saved.. moreover after this change... even the FF save stopped working(I did change the option in the XML) :)

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello Aman,

 

 

 

If you haven't tried this already, could you please try upgrading to Flash 10 and see whether it helps?

 

 

 

Just a thought. :)

Share this post


Link to post
Share on other sites

Hi Rajroop :)

 

 

 

I dont think upgrading would make any difference. Because I can see charts on my website, just that save functionality isnt working :P

 

 

 

 

 

@ Srividya,

 

 

 

i made a new folder in the root called saved. and in the properties file, i changed /images to /saved

Share this post


Link to post
Share on other sites

Hi Rajroop,

 

 

 

So now I am on Flash 10 .. and still the same result :P

 

 

 

on IE: after data capturing, I see a blank FCExporter.jsp

 

 

 

on FF: after data capturing, I see FCExporter.jsp with all its code :)

Share this post


Link to post
Share on other sites

Hey Rajroop,

 

 

 

I really appreciate your help bro. Please do let me know if you find something else to try.. I really need a fix :)

 

 

 

 

 

@ Srividya,

 

 

 

Address is coming up as localhost:8080/analytics/FCExporter.jsp

 

 

 

I havent touched the structure of webapp you sent me.

Share this post


Link to post
Share on other sites

Hi Srividya,

 

 

 

I only get a blank console when I try to save a chart.

 

 

 

Though for the two pages which are under webapp root, I get the following console output on saving the image:

 

 

 


Using EntityManagerFactory 'entityManagerFactory' for OpenEntityManagerInViewFilter

Returning cached instance of singleton bean 'entityManagerFactory'

Opening JPA EntityManager in OpenEntityManagerInViewFilter

Jul 17, 2009 10:13:44 AM com.fusioncharts.exporter.generators.ImageGenerator getChartImage

INFO: Creating the Chart image

Jul 17, 2009 10:13:45 AM com.fusioncharts.exporter.generators.ImageGenerator getChartImage

INFO: Image created successfully





Share this post


Link to post
Share on other sites

Hi Aman,

I appologize for the delayed response ( I was out of office ).

Can you email me the required jars for the web application, the latest java classes and jsps in WEB-INF folder?

Also tell me the jsp, with which you are testing.

I can test it here, modify and send.

Srividya

Here to solve your FusionCharts issue!

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