james555

Members
  • Content count

    7
  • Joined

  • Last visited

About james555

  • Rank
    Forum Newbie
  1. anyone? takes a while for support to respond. Why would the server side saving javascript work fine in IE and Chrome but not in Firefox?
  2. My charts display and render just fine in chrome and IE... and I have the FC_rendered function running to auto save the image on the server using chart.exportChart({ exportFormat:'jpg' }); This works fine in Chrome and IE with the save box automatically coming up and saving the jpg image on the server. However in Firefox it doesn't always save each chart on the page or doesn't save at all sometimes. Is there a known bug with displaying multiple charts on a page and having them save on the server automatically in firefox? The same code works fine for IE and Chrome. My firefox browser is running flash 10,0,12,36 ... and if I right click to save it works fine... or open the individual charts in their own tab/window they save fine. Any ideas?
  3. When a chart is generated it is not saving the image on the server automatically. I have to right click and save as jpeg and then it'll save in the proper folder on the server. Why is that? I need the charts to automatically save as soon as they are generated. Here is the snippet of my chart code: <script LANGUAGE="Javascript" SRC="FusionCharts/FusionCharts.js"></SCRIPT> <script type="text/javascript" src="FusionCharts/FusionChartsExportComponent.js"></script> $strXML = "<chart caption='' numberPrefix='' forceDecimals = '1' decimals = '2' formatNumberScale='0' exportFileName='$dr$mynum' exportEnabled='1' exportAtClient='0' exportAction='save' exportHandler='http://myurl.com/FusionCharts/FCExporter.php' >"; echo renderChart("FusionCharts/Column3D.swf", "", $strXML, "productSales", 635, 310, false, false); Works great other than automatically saving on server as jpg image. Is there another setting I should use? Server permissions seem to be fine as the right click save works fine on the web server. Please advise asap.
  4. I was able to get your version working just fine with the same export file settings I'm using, yet my script will not render and save automatically like yours. Do you have a simpler version of this for just 1 chart and not 4 at a time merging the files, etc. Just something stripped down and easy to understand? Thank you!!
  5. problem saving server side

    Did you ever get this working? I think I'm having the same issue. Not sure why this is such a problem using PHP and server-side save. I had jpgraph running in minutes... but have spent all day trying to get this to work.
  6. FYI I purchased the paid version and still now luck... any ideas? and do you have to save an XML file on the server or can I stream it within the php app and simply save the resulting jpg on the server?
  7. Like I said, it saves to the server if I right click and save as.... but won't do it server-side. I'm a bit unclear on why I have to have an xml file on the server to render using the javascript example. Can't I stream it like I do with the renderChart function? Here is the render code I'm using: Trying both: $strXML = ""; //Convert data to XML and append foreach ($final as $arSubData) $strXML .= ""; //close element $strXML .= ""; //echo $strXML; //Create the chart - Column 3D Chart with data contained in strXML echo renderChart("FusionCharts/Column3D.swf", "", $strXML, "productSales", 600, 300, false, false); ?> The chart will appear within this DIV. This text will be replaced by the chart. //Create the chart. Make sure registerWithJS is set to 1, else callback cannot happen. var myChart = new FusionCharts("FusionCharts/Column3D.swf", "test", "myChartId", "600", "300", "0", "1"); myChart.setDataURL("http://myurl/tmp/chart.xml"); myChart.render("chartdiv"); and here's the javascript: include("FusionCharts/FusionCharts.php"); ?> //Callback handler method which is invoked after the chart has saved image on server. function FC_Exported(objRtn){ if (objRtn.statusCode=="1"){ alert("The chart was successfully saved on server. The file can be accessed from " + objRtn.fileName); }else{ alert("The chart could not be saved on server. There was an error. Description : " + objRtn.statusMessage); } } both charts come up fine... although I don't like js version where I have to specifiy an xml file on the server ??? So I see both charts but why doesn't javascript kick in to write the file to the server? Or is there a better way with PHP? I'm testing the trial version and really want to buy but this is bad if I can't easily save to the server like other chart components. Please advise.