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(); } );
}