I have a need to update the chart every 10 sec. How do I achieve it?
Thanks
I have a need to update the chart every 10 sec. How do I achieve it?
Thanks
You may use setInterval JS method and Chart methods to redraw it:
[code]loadData();
setInterval(loadData,10000);
function loadData(){
barChart.clearAll();
barChart.load(url+"?rs="+(new Date()).valueOf());
}[/code]