Sign in to follow this  
patd

Exporting charts to JPG - JavaScript error

Recommended Posts

trying to export charts to .jpg (server side) I had it working but now I get this error after clicking export button->

 

 

 

Error: missing : after property id

 

Source Code:

 

try { __flash__toXML(myCallBackFunction(({statusMessage:undefined,statusCode:undefined,fileName:"null",height:0,width:0,FusionCharts/:"null",DOMId:"chart0"}))) ; } catch (e) { "";

 

}

 

 

 

thanks for looking.

 

 

 

 

 

Pat

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Pat,

Could you please confirm us the following:-

1) Which server-side language you are using?

2) Which server-side component you are using?

Also, if there is any new-line character in the Export Component, please make sure to remove the same.

Share this post


Link to post
Share on other sites

Hi Basundhara,

 

I'm using PHP and FusionChartsExportComponent.js

 

 

 

 

 

Maybe you will have some suggestions on this also....I want to export the charts on the sever (jpg or pdf) and then combine that with a pdf of the data columns with one click of a button. right now I'm using html2pdf to create the PDF of the data portion on the webpage. thank you for your time and help. Pat

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