Homesick

Members
  • Content count

    14
  • Joined

  • Last visited

Everything posted by Homesick

  1. Dears, I face a slowness in printing fusioncharts using chrome browser, this happens when I have multiple charts in the same page I am using the following javascript to enable printing in chrome: FusionCharts.printManager.enabled(true); Is there any command or a way could be used to accelerate printing process? Thanks Bilal
  2. I will give you the direct link to the charts: http://sdcjordan.com/english/index.php?option=com_public&security_type=1&chart=2 In order to show the rest of the charts, please click on any year of the bar charts, now scroll down and click again on any month of the month's bar chart .. Now all the charts are rendered, in order to print this page go to the top of the page there is a button to print the charts as in the attached.
  3. Hi Bindhu, Thanks for your reply, I am using the latest release version of chrome (22.0.1229.94 m). And this problem exists for only chrome, I've tested it in firefox, safari and internet explorer; it takes time but less shorter than chrome !!
  4. Note: I am using the professional version of fusioncharts version: 3.2.3-sr3.5347
  5. Dears,, I have installed the latest version of FusionCharts Professional XT (3.2.2),, I solved printing charts in mozilla firefox browses by enabling printManager feature. But I still face a problem in printing FusionCharts in chrome (charts do not appear at all) Any ideas ?? Thanks
  6. Dear All, I would like to share with you the fix I found to the above issue: Just add the following php command to the header of the file used to print the chart using POST method: header("X-XSS-Protection: 0"); Dear Supreme Being, Please is there any drawbacks to use such command ?? Thanks
  7. I have checked the above notes, I confuse why the chart is not rendering in chrome and safari but it is rendering in i.e and firefox !!
  8. Thanks for rapid response ,, As per your request, I 've tried to collect the required code from multiple php and js files as following <table> <tr> <td id="page_content"> <table> <tr> <td valign="top"><div id="chartdiv" align="center" > </div></td> </tr> </table> </td> </tr> </table> <img alt="image" src="images/printButton.png" class="title_icons" onclick="javascript:print_content();" /> <form name="printForm" action="print.php" target="_blank" method="post" id="printForm"> <input name="printcontent" type="hidden" id="printcontent" value="" /> </form> <script type="text/javascript"> var chart = new FusionCharts("../fusion_charts/Line.swf", "ChartId", "100%", "220", "0", "0"); var strURL = "../public/Column3D.php?issuer_no=123456"; strURL = escape(strURL); chart.setDataURL(strURL); chart.setTransparent(true); chart.render("chartdiv"); function print_content() { var objContent = document.getElementById('printcontent'); var objPageContent = document.getElementById('page_content'); var objPrintForm = document.getElementById('printForm'); objContent.value = objPageContent.innerHTML; objPrintForm.submit(); } </script> When I press the img icon (printButton.png)--> function print_content() will send the chart to print.php page which is a user friendly page used to print the content of any page in my website. This mechanism is valid when I use it in i.e and firefox ,, the chart appears there with no problem, but in chrome and safari does not. I hope the above Idea is clear,, if not, please do not hesitate to ask ,, thanks
  9. Thanks Sumedh Your solution for managing print charts in chrome and safari is valid , but I face a new problem : I am using an html form to submit a chart to another page using POST method ,, the chart appears in i.e and firefox but does not appear in chrome and safari ,, so how could I solve such issue?? Thanks HomesicK
  10. Dear Guys ,, I am trying using JavaScript to print selective Div in the page which include a chart using this code: 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
  11. Dear Basundhara , Thanks a lot for your reply, but please could you tell me where to re-render the chart in my code?