mssjdb

Members
  • Content count

    9
  • Joined

  • Last visited

Everything posted by mssjdb

  1. am using fusion charts. and am exporting graphs to server side as pngs. here i have more than 20 graphs. now have to run another file if exporting was completed. it is taking nearly 4 min to complete export. Now my doubt is, how i can know wither download completed or not using jquery or any other.
  2. I am trying to save my fusion chats as png on server side. i am using php/mysql. i want to export nearly 10 images of fusion charts at a time. i was unable to save at least one graph on server. how i can do this? i tried with enter link description here can you give me an example? while trying to save graphs on client side. i was succeeded up to save one graph. but i am unable to save more than one graph. i am not getting according to server side at least one graph.
  3. am using fusion charts. and am exporting graphs to server side as pngs. here i have more than 20 graphs. now have to run another file if exporting was completed. it is taking nearly 4 min to complete export. for this am using this technique How do I configure FusionCharts export component to invoke a callback JavaScript method, when the chart has been saved by user? but am getting alert with error like FusionChartsExport: object::FusionCharts was not found. Verify script inclusions. How i can overcome from this.
  4. am using fusion charts. and am exporting graphs to server side as pngs. here i have more than 20 graphs. now have to run another file if exporting was completed. it is taking nearly 4 min to complete export. Now my doubt is, how i can know wither download completed or not using jquery or any other.
  5. thanks for your reply. i am able to upload these images in jpeg format. but i need format like png. please help me out. thanks
  6. Hi, I am trying to save graphs on server side. i was succeeded up to save one graph. but i am unable to save more graphs. how it can be ? my code is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- FusionCharts Core JavaScript Object --> <script type="text/javascript" src="FusionCharts/FusionCharts.js"></script> <script type="text/javascript"> var totalCharts = 2; function exportCharts(exportType) { for( var i = 0; i < totalCharts; i++ ) { var num = i+1; var id = "chart"+num+"Id"; exportchart(exportType,id); alert(id); } } function exportchart(exportType,id) { var chart = FusionCharts(id); // Now, we proceed with exporting only if chart has finished rendering. if (chart.hasRendered() != true) { alert("Please wait for the chart to finish rendering, before you can invoke exporting"); return; } // call exporting function chart.exportChart( {exportFormat: exportType} ); } </script> </head> <body> <p align="center"> <input type="button" class="button" value="Export as PNG" onclick="exportCharts('PNG')" id="exportButtonPNG" /> </p> <div > <div id="average" style="text-align:center">Loading Chart... </div> <div id="serverSideChart" style="text-align:center">Loading Chart... </div> </div> <script type="text/javascript" > // Render the chart (See documentation for explanation of the codes below) //echo renderChart("FusionCharts/MSColumn3D.swf", "", $strXML3, "average", 1100, 350); var chart2 = new FusionCharts("FusionCharts/MSColumn3D.swf", "chart1Id", "600", "400", "0", "1"); chart2.setXMLUrl("average.xml"); chart2.render("average"); var chart1 = new FusionCharts("FusionCharts/MSColumn3D.swf", "chart2Id", "600", "400", "0", "1"); chart1.setXMLUrl("overall.xml"); chart1.render("serverSideChart"); </script> <!-- Google Analytics Tracker Code Starts --> <script type="text/javascript"> // analytics var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> if (typeof(_gat) == "object") { var pageTracker = _gat._getTracker("UA-215295-3"); pageTracker._initData(); pageTracker._trackPageview(); } </script> </body> </html>
  7. Thanks for your help. i am working with your folder. i want to save fusion charts as pngs, but i am not getting. Please help me. Attaching folder here. please explain if you changed any code here. Thanks export.zip
  8. I am trying to convert my chart as a jpg. i am getting option save as jpeg, png, pdf. But the problem is after selecting options (like jpeg etc) i am getting a new window "http://localhost/Dashboard9/FusionCharts/FCExporter.php" with DOMId=<br style="font-family: 'Times New Roman'; font-size: medium;">height=0<br style="font-family: 'Times New Roman'; font-size: medium;">width=0<br style="font-family: 'Times New Roman'; font-size: medium;">fileName=<br style="font-family: 'Times New Roman'; font-size: medium;">statusMessage= Export Resource not found.<br style="font-family: 'Times New Roman'; font-size: medium;">statusCode=0 I have placed FCExporter.php at "http://localhost/Dashboard9/FusionCharts" . My internet connection is on while doing this. Using code like <graph caption='Average Score' subcaption='$myCaption' divlinecolor='F47E10' numdivlines='3' showAreaBorder='1' areaBorderColor='000000' numberPrefix='' showNames='1' numVDivLines='29' vDivLineAlpha='30' yAxisName='Average Score' formatNumberScale='1' rotateNames='1' decimals='1' decimalPrecision='1' exportEnabled='1' exportHandler='http://localhost/Dashboard9/FusionCharts/FCExporter.php' exportAtClient='0' exportAction='download' exportTargetWindow='_blank' exportFileName='MyFileName'> Nothing was changed on FCExporter.php what is the problem, i am not getting. Please help me.
  9. X Axis Problem

    Hi Please have a look on this image. as in the image i am getting the x axis values for first graph only. code also attached. Please have a look. How i can solve this problem Thanks mssjdb temp.php