miickey Report post Posted December 3, 2013 Problem: XML data file is not load new file when press once submit button but press again xml on fusion chart is call new file .I have filter on page when i press search button for send variable value to write xml file. It's normal working.Help me Please. Thank You. This's my code. <a href="#" onclick="changeMonth4();">Search</a> <div id="chartContainer1">FusionCharts will load here!</div> <script type="text/javascript"> var myChart1 = new FusionCharts( "Charts/MSColumn2D.swf", "myChartId1", "1000", "450", "0", "1" ); myChart1.setXMLUrl("XML/data.xml"); myChart1.render("chartContainer1"); function changeMonth4() { var chartReference = FusionCharts("myChartId1"); chartReference.setXMLUrl("XML/data.xml"); //window.parent.updateChart(newXML); //chartReference.addEventListener("Rendered", function () { FusionCharts("myChartId1").exportChart(); } ); } Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted December 4, 2013 Hi, Welcome to FusionCharts Forum. With regard to your query, it seems in the provided code snippet, you are updating the chart with the same data i.e. "data.xml", on click of "Search" option. So, the chart will update with the same data and no changes will be notified. Could you please clarify a bit more on what exactly your requirement, to better assist you? For more information on "Providing and Updating chart data", please visit the link: http://docs.fusioncharts.com/charts/contents/JavaScript/JS_ChangeData.html Awaiting your valuable response. Share this post Link to post Share on other sites