jp_sa

Members
  • Content count

    3
  • Joined

  • Last visited

About jp_sa

  • Rank
    Forum Newbie
  1. Invalid Xml Data

    Good day Fusion Charts I am having a strange issue lately. I made some changes to my code sometime back and I am not sure if these changes has caused the XML to become invalid. I am getting an Invalid XML message with a map (Haiti) that I am trying to load. I have separated the XML that I feed into the chart (I use server-side) into an XML file for you to have a look at, please see attached file. The file opens in an XML editor and no errors appear. The only thing I can think of is that I changed the code that UrlEncodes the string in the XML. Please can you tell me what I am doing wrong (it is probably going to be an obvious problem)? Regards, Justin InvalidXMLMap.xml
  2. Export To Image With Button

    Good day I have changed those settings and it now works! Thank you very much for your help! JP
  3. Good day Fusion I have a strange issue. I am able to export a chart to an image via the context menu only and not by a button calling the following javascript: <script type="text/javascript" language="JavaScript"> function exportCharts(exportType) { //Get reference to chart. var chart = FusionCharts("myChartId"); // Now, we proceed with exporting only if chart has finished rendering. // if (chart.hasRendered && chart.hasRendered()) { // call exporting function // alert('Exporting...'); chart.exportChart({ exportFormat: exportType }); alert('exporting'); //alert("Please wait for the chart to finish rendering, before you can invoke exporting"); // return; // // } } function exportedToServer(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); } } </script> I am using v3.1 charts and suspect that the javascript example may not be compatible with the javascript routine. Please can you shed some light on this matter? JP