摘要
Web数据库应用系统中,有时需要有一些统计数据图形给用户传达准确、直观的数据信息。利用HTML来添加图形的传统做法,由于受存储形式限制,其下载速度慢,且不能进行放大、缩小等功能。单纯采用HTML不能很好地表示矢量图形,不能解决这方面的问题。采用VML能够为这一问题提供合理的解决方案。利用VML结合ASP访问数据库,动态生成客户端脚本,绘制出矢量图形。结果表明采用这种方式能够充分发挥ASP的优势,并能表示出形象生动、可放大缩小而不影响图像质量的矢量图形。最后结合一个实例,绘制了数据项统计比较走势图,具有较强的表现力。充分表明采用VML绘制矢量图形具有极大的优势。
In the applications system of Web database, sometimes need some statistical diagram to deliver exact and intuitionistic infomation. The traditional HTML could append it, but as the limitation of storage form, that couldn't be downloaded fast, and also couldn't be zoomed in or out. Only using the HTML couldn't express the vector graphic very well, and cannot work out the problem aslove, Using VML can offer a scheme for this problem. Used VML and integrarted it with ASP to access the database,and buihling the client seripts dynamically. In this way, the client could figure out better vector grap.hics, which is vlsualized,could be zoomed in and out without affecting the quantity, And indicates that could exert the advantage of ASP adequately , At last, illustrate an example to picture a statistical comparative trend graphic about data item,and it has stronger capability of expression. That indicates sufficiently using VML to protract vector graphics has right smart advantage.
出处
《计算机技术与发展》
2006年第11期218-221,共4页
Computer Technology and Development
关键词
矢量图形
VML
动态脚本
vector graphics
vector markup language
dynamical scripts