阅读背景:

如何使用AJAX在Update上保存(保留)flot图的缩放状态

来源:互联网 

I have a simple application which polls database for data every minute. When new data is fetched, I am updating the graph using ajax. However, whenever I update the graph (re-plot it with new values added to plot data) the current state of zoom is lost. Before updating the graph, I want to preserve the latest zoom position. After updating the graph, I want to zoom the graph to its saved position. This is important because re-zooming every minute is irritating. Is this possible?I have a simple application which polls databas




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: