absolutely right , setInterval is used for triggering ajax events, setXmlData() method works in "success" callback function.
screen shots collected by chrome developer tools is uploaded by attach file.
schema code refers to fusioncharts
function callback()
{
........
FusionCharts("myChartID").setXMLData(xmlStr);
............
}
setInterval(function(){
$ajax({
.........
success: callback();
})
},3000);
i check the memory usage by chrome's task mamnager, and memory usage is a bit increasing, however , I can't judge what leads to such increase .
by the way , thank you for your information on "Memory Leak due to setInterval()" , which inspires me a lot .
expecting your guiding.