veerugadde Report post Posted June 4, 2009 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
veerugadde Report post Posted June 4, 2009 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
saptarshi Report post Posted June 5, 2009 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