[email protected] Report post Posted November 20, 2014 Hi, I am having dashboards and i am using "export button" to export in each chart, now i want to provide the button for printing the entire page( entire dashboard). So i tried following code to achieve which is taken from fusionchart documentation. But this code is taking too much time to print and if i use this concept, it will be a performance issue, So please help me out to achieve this using any alternative way or any modification i need to in the following code. Its very Urgent . <html> <head> <title>FusionCharts Print Manager</title> <script type="text/javascript" src="FusionCharts/FusionCharts.js"></script> <script type="text/javascript"> function Print_chart() { FusionCharts.printManager.enabled(true); FusionCharts.addEventListener ( FusionChartsEvents.PrintReadyStateChange , function (identifier, parameter) { if(parameter.ready){ alert("Chart is now ready for printing."); document.getElementById('printButton').disabled = false; } }); var myChart = new FusionCharts( "FusionCharts/Column3D.swf", "myChartId", "400", "300", "0", "1" ); myChart.setXMLUrl("Data.xml"); myChart.render("chartContainer"); } </script> </head> <body onload="Print_chart();"> <div id="chartContainer">FusionCharts will load here!</div> <input type="button" onclick="FusionCharts.printManager.managedPrint()" value="Managed Print" disabled="disabled" id="printButton" > </body> </html> Thank you, Regards, Ravikumar M Share this post Link to post Share on other sites
Moonmi Sonowal Report post Posted November 21, 2014 Hello Prateek, FusionCharts.printManager is now being deprecated as it was primarily intended for use with Flash. Now that Flash is deprecated it will no longer work. Using printManager will now raise a warning event. Could you please try the window.print() on a button click to print any page. Hope this helps. Thanks. Share this post Link to post Share on other sites