Search the Community
Showing results for tags 'printing dashboard'.
Found 1 result
-
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 do 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