babuu Report post Posted August 9, 2012 Hi, We are used pure javascript fusion charts(without flash).Working fine. we are using latest of fusioncharts. 1.we have implemented exporting images in our application by using php(Highcharts).Here one problem facing how to controling php site after saving images in localpath,its going php site how to solve this. 2.what is diffrent between SetDataXML and setDataURL? Problems are below please check it.Please help on these. Here we are observered. setDataXML-- one fired DrawComplete while click buuton. See once below code FusionCharts.setCurrentRenderer('JavaScript'); var myChart = new FusionCharts(path, "myChart123", width, height,'0', '1'); myChart.setDataXML(xml.join("")); myChart.render(divId); FusionCharts("myChart123").addEventListener ("DrawComplete" , myChartListener ); }; setDataURL-- everytime fired DrawComplete while click buuton. FusionCharts.setCurrentRenderer('JavaScript'); var myChart = new FusionCharts(path, "myChart123", width, height,'0', '1'); myChart.setDataURL("/app/p4p/sample.xml"); myChart.render(divId); FusionCharts("myChart123").addEventListener ("DrawComplete" , myChartListener ); }; Please help me. Thanks Babu Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted August 10, 2012 Hi, Please find the response to your queries inline, below: 1.we have implemented exporting images in our application by using php(Highcharts).Here one problem facing how to controling php site after saving images in localpath,its going php site how to solve this. >>I am afraid, we are not able to replicate the issue. After downloading the JavaScript Chart image, it redirects to the same page. Please check the sample (below provided URL) and do share the feedback with us. http://docs.fusioncharts.com/charts/Code/ExportChartSamples/PureJavaScript/PureJavaScriptChart.html 2.what is diffrent between SetDataXML and setDataURL? >> setDataXML(); // This function provides data to the chart in form of XML String. setDataURL(); // This function specifies the URL of the XML data source. But, we recommend to not to use these functions as these are deprecated functions and due to backward compatibility they still work. So, please use setXMLUrl(url) instead of setDataURL(url) and setXMLData(data) instead of setDataXML(data). Hope this helps! Awaiting your response. Share this post Link to post Share on other sites
babuu Report post Posted August 10, 2012 Thanks for response. Please give me your mailid, i am sending sample app to ur mail . Thanks Babu Hi, Please find the response to your queries inline, below: 1.we have implemented exporting images in our application by using php(Highcharts).Here one problem facing how to controling php site after saving images in localpath,its going php site how to solve this. >>I am afraid, we are not able to replicate the issue. After downloading the JavaScript Chart image, it redirects to the same page. Please check the sample (below provided URL) and do share the feedback with us. http://docs.fusionch...criptChart.html 2.what is diffrent between SetDataXML and setDataURL? >> setDataXML(); // This function provides data to the chart in form of XML String. setDataURL(); // This function specifies the URL of the XML data source. But, we recommend to not to use these functions as these are deprecated functions and due to backward compatibility they still work. So, please use setXMLUrl(url) instead of setDataURL(url) and setXMLData(data) instead of setDataXML(data). Hope this helps! Awaiting your response. Share this post Link to post Share on other sites
Swarnam Report post Posted August 24, 2012 Hey Babu, Please send your sample code to [email protected] Share this post Link to post Share on other sites