为了在监测中使用Web图形,需解决网页局部刷新、图形生成和传送问题.用AJAX技术实现网页局部刷新,用GDl+技术生成曲线图并转化成图片返回给用户,同时还给出了提高效率的措施.使用结果表明:AJAX技术提高了显示效果,生成的曲线图准确并且可以在允许时间内得到查询响应.
In order to apply web graphics to monitoring, it needs to solve problems of local updating web pages, creating graph and transferring it. We use AJAX to implement local updating, and GDI+ to create graph and then con- vert into picture for users. Methods for promoting efficiency are given. The result shows that AJAX improves effect on display, indicates that graph built is accurate and can receive reply within the time allowed.