ralberto

Members
  • Content count

    1
  • Joined

  • Last visited

About ralberto

  • Rank
    Forum Newbie
  1. FusionCharts real time update

    Hi all.. I'm trying to update some FusionCharts values in real-time. Using method setDataXML, chart reloads almost without any flick, but using setDataURL chart flick is notorious!! Am I missing something? Is there a way to animate only the changing values? Ex: We have a chart to display, say: "number of clients inside store / zone". We are polling a datasource to update that number every 1 min. I would like to see only the bars where values changed going up and down (animated), without redrawing all the bars! Is that possible? Code snippet! -------------- var chart1 = new FusionCharts("../fusion/charts/MSColumn3DLineDY.swf", "ChartId", "500", "300", "0", "1"); chart1.setDataURL("Col3DLineDY.xml"); chart1.render("somediv"); //Update chart with new values after five seconds. setTimeout( function() { chart1.setDataXML(IncCol3DLineDY.xml); }, 5000); -------------- Thanks, Rui