Homesick Report post Posted August 22, 2010 Dear Guys ,, I am trying using JavaScript to print selective Div in the page which include a chart using this code: var printContent = document.getElementById('popupContact'); var windowUrl = 'about:blank'; var uniqueName = new Date(); var windowName = 'Print' + uniqueName.getTime(); var printWindow = window.open(windowUrl, windowName, 'left=50000,top=50000,width=200,height=200'); printWindow.document.write(printContent.innerHTML); printWindow.document.close(); printWindow.focus(); printWindow.print(); printWindow.close(); where "popupContact" is the div element which includes the charts I want to print out ,, When I do so,, the charts did not appear!!, but if I use print from file menu in the browser the chart appears no problem ,, So please tell me how to handle it ?? Thanks Homesick Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted August 23, 2010 Hi, Welcome to FusionCharts forum. It seems that you are adding the HTML content along with the Div content which might create some problem in browsers like IE. In that case you need to re-render the chart with inner HTML befor printing it. Hope this helps. Share this post Link to post Share on other sites
Homesick Report post Posted August 23, 2010 Basundhara Ghosal (8/23/2010)Hi, Welcome to FusionCharts forum. It seems that you are adding the HTML content along with the Div content which might create some problem in browsers like IE. In that case you need to re-render the chart with inner HTML befor printing it. Hope this helps. Dear Basundhara , Thanks a lot for your reply, but please could you tell me where to re-render the chart in my code? Share this post Link to post Share on other sites