Add dynamic vertical timeline to jquery jqplot
Is there any way add dynamic vertical timeline to
jquery jqplot? So far I can draw just a static vertical line. But in order to see that it's moving, I need to redraw the whole jqplot, which results in blinking visual effect. What I need is just to add a moving second-by-second timeline. Thanks.
- var d = new Date();
- curr_time = d.getFullYear() + '-' + (d.getMonth()+1) + '-' + d.getDate() + ' ' +
- d.getHours() + ':' + d.getMinutes();
- loc.push([[curr_time, 0] , [curr_time, 4]]);
- seriesCnf.push( line );
- plot1 = $.jqplot('container', loc,{
- //...
- });