expresso Report post Posted September 15, 2008 I'm trying to add a button for the user to print a chart. I've tried the following javascript functions: function printChart() { var chartToPrint = getChartFromId('Column3D'); chartToPrint.print(); } I have added FusionChart.js to my application, the error I'm getting is chartToPrint.print() is not a function. Is there a file I'm missing? Am I doing something wrong? We're controlling and generating the charts using a jsp page containing data in xml format. Thank you. Share this post Link to post Share on other sites
Pallav Report post Posted September 16, 2008 Hi, Two things here: 1. Make sure you've set registerWithJS flag to 1. 2. You're using v3.0.6 Share this post Link to post Share on other sites
expresso Report post Posted September 16, 2008 (edited) I have added the registerWithJS=1 to the parameters. Here's the object tag I'm using: I'm still getting the same JavaScript error. Where do I find the exact version? We got our Fusion Charts zip this month so I'm assuming the version is current. I only says Fusion Charts 3.0 Edited September 16, 2008 by Guest Share this post Link to post Share on other sites
expresso Report post Posted September 16, 2008 (edited) Ugh, how do you prevent code from being interpreted in the post? I tried but the flash object still gets interpreted Edited September 16, 2008 by Guest Share this post Link to post Share on other sites
srividya_sharma Report post Posted April 14, 2010 Hope you were able to solve the problem via email or other means. Keep FusionCharting! Share this post Link to post Share on other sites