FusionCharts Forum: Export chart doesn't work if not deployed - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Export chart doesn't work if not deployed

#1 User is offline   qiubo01 

  • Forum Newbie
  • Group: Members
  • Posts: 2
  • Joined: 10-August 10

Posted 12 August 2010 - 12:15 AM

I tried fusion chart exporting on server side these days, and found that exporting feature didn't work when I simply open the html file in IE8 on my local disk, say, on desktop. After the chart capturing data, no image saved on server side and the callback function not triggered. But, after deploying the html via tomcat, chart exported successfully, and the callback invoked.

Note: the FCExporter.jsp always deployed via tomcat, and worked fine.

Following is my code snippet for your information (My FusionChart version is 3.1):

<code>

function onChartExportedStub(retObj) {
  onChartExported(retObj.statusCode, retObj.statusMessage,retObj.fileName, retObj.DOMId);
}

var myChart = new FusionCharts("FusionCharts/Charts/Pie2D.swf", "myChartId", "640", "400", "0", "1");

myChart.setDataURL("PieChartTest.xml");

myChart.render("chartdiv");

<chart exportEnabled='1' exportAtClient='0' exportAction='save' exportCallback='onChartExportedStub' exportHandler='http://xxxxxxx:8080/FCExport/FCExporter.jsp'>...</chart>

</code>

0

Other Replies To This Topic

#2 User is offline   Basundhara Ghosal 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2459
  • Joined: 15-September 09

Posted 12 August 2010 - 12:49 AM

Hi,

Could you please confirm whether the Global Security Settings is enabled or not?

Ref.- http://www.fusioncharts.com/forum/FindPost8077.aspx

Hope this helps.

Regards,

Basundhara Ghosal

Follow us on Twitter :D
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic