Quote (labatymo @ Sep 15 2014 07:15pm)
call
Code
setTimeout(yourFunction, 5000);
at the end of
Code
yourFunction
ex,
Code
function refreshData(){
//Do something exciting
setTimeout(refreshData,5000);
};
Thank you, I will try this out,
so I would include this after I call the function to draw the charts?
how will it get the new data?
Code
$(function () {
$('#container').highcharts({
chart: {
type: 'column',
},
title: {
text: 'January'
},
xAxis: {
categories:
['1', '2','3','4','5']
},
yAxis: {
title: {
text: 'Numbers for the month'
}
},
series: [{
name: 'January',
data: [ 10, 24, 2,5,11],
}]
});
});
[B]setTimeout(yourFunction, 5000);[/B]???
thank you
any help is appreciated