Sign in to follow this  
Guest Madhumita

fusion chart batch export

Recommended Posts

I am trying to export 5 charts using batch export (Server side ). How can I give individual names to the charts ?

 

Is there any sequence maintained while exporting the charts ?

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

Please consider using the exportFileName attribute in the chart element for individual charts to set the name for the image.

Using this attribute you can specify the name (excluding the extension) of the output (export) file.

Share this post


Link to post
Share on other sites

I can set the exportFileName only once ?

 

 

 

suppose if my export component is

 


var myExportComponent = new FusionChartsExportObject("fcBatchExporter", "/flash/thirdparty/FusionCharts/FCExporter.swf");

 

then I can set exportFileName as

 


myExportComponent.exportFileName="somefilename";

 

 

 

How I can identify a specific file from a group of 5 files I exported ?

 

 

 

I am creating a customized PDF to add the exported files + some text data.

 

 

 

Also the Legends for the charts are not getting exported. Is there any way to export them ?

 

 

 

Can you please explain ?

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

You can use an array to store the names of the export files and iterate through it and set it as the export File name each time a chart in the batch exporting is exported.

Share this post


Link to post
Share on other sites

one more thing I am unable to fire FC_ExportReady().

 

 

 

FC_Exported() is getting fired.

 

 

 

I have adobe flash player 10 installed.

 

 

 

Flash Player Global Security Settings are also set.

 

 

 

Any help ?

 

 

 

Thanks in advance

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

Hi

I will take a look at the files and get back to you soon.

Meanwhile, I noticed that the class files for export handler are present in WEB-INF/classes folder and

fcexporter.jar is also present in the WEB-INF lib folder. Only one of them has to be present in your classpath.

Srividya

Share this post


Link to post
Share on other sites
Guest Rajroop

Hello,

 

 

 

Could you please use the "exportFileName" attribute in the chart element in XML page, of each chart? You would require to give unique names for this.

 

For example: <chart...exportFileName='file name of your choice'>

 

 

 

Could you please take a look at the following Forum link for this?

 

Ref.- http://www.fusioncharts.com/forum/Topic19909-32-1.aspx

 

 

 

I hope this helps. :D

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