Font Size: a A A

Design And Implementation Of SVG-based Chart Component

Posted on:2008-12-15Degree:MasterType:Thesis
Country:ChinaCandidate:X Y LiangFull Text:PDF
GTID:2178360272969933Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Chart can make the performance of data more visual and vivid. But with the vigorous development of Internet technology and mobile equipment, people request more about chart applications. Scalable Vector Graphics(SVG), a succession of cross-platform XML and expandability, has a lot of advantages compared with other document format, such as small size, convenience of downloading Web pages, arbitrariness of zooming image, customer interaction, supporting script control and Wireless equipment compatibility etc. Rendering chart with SVG, not only meets the application requirements, but also expands the field of graphics in SVG.SVG chart components combine the characteristics and advantages of SVG, Java language and object-oriented to design the whole system. The entire system is divided into data module, chart generated module and chart output module. Data module uses bridge pattern to extend and adapt to different data sources; chart generated module makes the whole chart modules divided into different sub-module using idea of modular, and uses listening pattern to pass events between the sub-module; chart output module uses Batik components to output SVG graphics.SVG chart components can produce varietious different kinds of charts, such as pie, bar, curve, gantt etc, by reading varietious data sources like common database, XML. The system not only provides a flexible Java API to call, but also provides users a quick and easy visualization of graphics editing tool. Many users do not need to understand the level of professional knowledge to map out the charts, which achieves the purpose of accelerating the process of real-time information dissemination.The cross-platform, expandability and reusability adapt the demand that different environment development need. However, image processing, animation and interactive script processing function are still not perfect, pending further studies and improvements.
Keywords/Search Tags:Scalable Vector Graphics, Statistical charts, Object oriented, Design pattern
PDF Full Text Request
Related items