Skip to content

Commit

Permalink
change update rate to 5000ms
Browse files Browse the repository at this point in the history
  • Loading branch information
eastein committed Sep 26, 2012
1 parent a48ae31 commit dbcf8fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interface.html
Expand Up @@ -63,11 +63,11 @@
// Every second, get the total trace // Every second, get the total trace
setInterval(function() { setInterval(function() {
update_dataset(dataset, ts, tracetype, tracename); update_dataset(dataset, ts, tracetype, tracename);
}, 1000); }, 5000);


tl.addTimeSeries(dataset, {strokeStyle: rgb[id], fillStyle: 'rgba(10, 10, 10, 0.1)', lineWidth: 2}); tl.addTimeSeries(dataset, {strokeStyle: rgb[id], fillStyle: 'rgba(10, 10, 10, 0.1)', lineWidth: 2});


tl.streamTo(document.getElementById(tracetype), 1000); tl.streamTo(document.getElementById(tracetype), 5000);
} }


function update_dataset(dataset, ts, tt, tn) { function update_dataset(dataset, ts, tt, tn) {
Expand Down

0 comments on commit dbcf8fc

Please sign in to comment.