Sign in to follow this  
veerugadde

need help with exporting chart to pdf using php class

Recommended Posts

Hello,

 

 

 

I got a probelm with exporting charts in to pdf using the php class.The below code explains sample example where i bring the data from the database and access the chart id to export in to pdf doc.When i use chart id from php class to export in to pdf and using that chart id with javascript,shows no result.Can anyone please help me out looking at the sample code provided in the attachment?

 

 

 

Please help me out..

 

 

 

Thanks.

ExportPDF.txt

Share this post


Link to post
Share on other sites

hello,

 

 

 

I figured out the solution.When i was trying to access the chart id using the javascript, it's not allowing to do so.This is because the registerwithJS variable in fusioncharts_gen.php is set to false by default,which is not allowing me to access the chartid using the javascript.Please change the default value,if any one has the same problem.

 

 

 

 

 

Thanks.

Share this post


Link to post
Share on other sites

Hello,

 

 

 

Glad to know it is working now.

 

 

 

It's true. Many, many of the problems with JS can be traced down to setting the regiserwithJS flag being not set to 1.

 

 

 

Happy FusionCharting!

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