I want to update the chart drawn by jqPlot sequentially in time intervals.
My use case is such that the AJAX call returns only a single value. For e.g.:
Let me add to @charlietfl answer. When you use replot() it takes 2 times longer to redraw, rather than with destroying jqplot. So use destroy() to redraw plot.
$.jqplot('chart1', [storedData]).replot();
http://jsfiddle.net/zjjvm/ it takes 46sec to draw running sine using replot()
plot1.destroy();
plot1 = $.jqplot('chart1', [storedData])
http://jsfiddle.net/p9SbP/ it takes 25sec to draw the same using destroy()