摘要
为在Web网页上动态地绘制工程进度甘特图,根据甘特图绘制组件的需求,研究了甘特图生成算法,并设计了甘特图绘制组件模型。结合B/S模式下甘特图的特点,在客户端采用可缩放矢量图形SVG(scalable vector graphics)实现甘特图的动态绘制,能减少网络数据传输量、减轻服务器负担,有效地提高甘特图绘制组件的响应速度。利用SVG对脚本语言的支持,能增强甘特图的动态性和交互性。实际运行效果表明,该甘特图绘制组件具有较快的响应速度和良好的交互性。
To draw Gantt chart of project progress dynamically in web pages,according to the requirements of Gantt chart drawing com-ponent,Gantt chart generation algorithm is studied,and model of the Gantt drawing component is designed.Combination with the characteristics of Gantt chart in B/S mode,dynamic drawing of Gantt chart is achieved at the client-side using scalable vector graphics(SVG),thereby the volume of network data transmission is reduced,the burden on the server is lightened,and the response speed of Gantt drawing is effectively improved.With the support on the scripting language by SVG,the dynamic and interactivity of Gantt chart is enhanced.The actual running indicated that the Gantt chart drawing component has a faster response speed and good interactivity than other Gantt chart drawing component.
出处
《计算机工程与设计》
CSCD
北大核心
2010年第10期2354-2357,共4页
Computer Engineering and Design
基金
湖北省自然科学基金项目(2007ABA296)
作者简介
作者简介:夏臻(1984--),女,湖北武汉人,硕士,研究方向为基于网络的计算机应用;
陈建勋(1957--),男,博士,教授,研究方向为软件工程、计算机图形学、基于网络的实时系统理论、技术和可靠性。E-mml:deb1230@163.com