Sign in to follow this  
krishnalamp

export charts using imageSave and imageSaveURL attributes

Recommended Posts

hi,

 

i want to export multiple charts to images and using it later.

 

i add imageSave and imageSaveURL to all charts that i'll build in the same page.

 

 

 

i also add export button wich have this action:

 

var chartToPrint = getChartFromId("Chart1");

 

chartToPrint.saveAsImage();

 

 

 

it's working very good for a single chart

 

 

 

The problem is, i want to export multiple charts in the same page widh no redirection (imageSaveURL) one by one.

 

 

 

does anyone know issues ?

 

 

 

thanks

Share this post


Link to post
Share on other sites
Guest Rajroop

Hi medwassim,

 

 

 

Attached below are the Image and Index code file(s) for the process of export of multiple charts.

 

 

 

I hope they help in the understanding of this type of export.

 

 

 

Please let us know if they are of any help. :)

image.zip

index.zip

Share this post


Link to post
Share on other sites

hi,

 

thank u for ur help,

 

when i'm trying to use the example in junk, I got this js error message :

 

 

 

invalid property id

 

[break on this error] try { __flash__toXML(myCallBackFunction(({

 

 

 

 

any idea ?

 

thank u

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

 Could you please tell us if you are exporting server-side or not?

Awaiting your reply. :)

Share this post


Link to post
Share on other sites
Guest Madhumita

Hello,

In your export handler file remove any new lines that reside outside the code and see if this helps.

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Medwassim,

You are most welcome.

Glad to help you. :)

Happy FusionCharting.

Share this post


Link to post
Share on other sites

Hi,

 

 

 

I am trying to use same server side Batch Export.I am getting Javascript error "Error calling method on NPObject! [plugin exception: Error in Actionscript. Use a try/catch block to find error.]."... please check it once.

 

 

 

Thanks,

 

krishna

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