【asp精品源码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。
网学会员整理了asp精品源码-【精品资料】基于VML的矢量图形动态生成过程的研究 - 其它管理文献的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
----------------------- Page 1-----------------------第 16 卷 第 11 期 计 算 机 技 术 与 发 展 Vol. 16 No. 11 2006 年 11 月 Nov. 2006 COMPU TER TECHNOLO GY AND DEV ELOPMEN T 基于VML 的矢量图形动态生成过程的研究 夏立民王 华 首都师范大学 信息工程学院北京 100037 摘 要:Web 数据库应用系统中有时需要有一些统计数据图形给用户传达准确、直观的数据信息。
利用 HTML 来添加图 形的传统做法 由于受存储形式限制其下载速度慢且不能进行放大、缩小等功能。
单纯采用 HTML 不能很好地表示矢 量图形不能解决这方面的问题。
采用VML 能够为这一问题提供合理的解决方案。
利用VML 结合ASP 访问数据库动 态生成客户端脚本绘制出矢量图形。
结果表明采用这种方式能够充分发挥ASP 的优势并能表示出形象生动、可放大缩 小而不影响图像质量的矢量图形。
最后结合一个实例绘制了数据项统计比较走势图具有较强的表现力。
充分表明采用 VML 绘制矢量图形具有极大的优势。
关键词:矢量图形VML 动态脚本 中图分类号:TP311138 文献标识码:A 文章编号: 1673 - 629X 2006 11 - 0218 - 04 Research of Vector Graphics Building Process Dynamically Based on VML XIA Limin WAN G Hua Information Engineering Institute Capital Normal University Beijing 100037 China Abstract :In the applications system of Web database sometimes need some statistical diagram to deliver exact and intuitionistic informa tion . 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 above. Using VML can offer a scheme for this problem. Used VML and integrated it with ASP to access the database and building the client script s dy namically. In this way the client could figure out better vector graphics which is visualized 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 compara tive 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. Key words :vector graphics vector markup language dynamical script s 0 引 言 1 HTML 与 ASP 在 Web 数据库应用系统的开发过程中需要给用户 HTML Hypertext Markup Language 超文本标记语 提供直观、美观的诸如棒图、饼图、实时曲线等的数据统计 言 是一种用来制作超文本文档的简单标记语言。
用 图使用户能够方便地查看数据分布、变化的实时过程。
HTML 编写的超文本文档能独立于各种操作系统平台 在常用的网络编程语言中通常采用其内植的绘图API 如UN IX WINDOWS 等 。
使用 HTML 语言描述的文 来实现统计图形的绘制。
但是其存在着明显的缺陷:通常 件需要通过 WWW 浏览器显示出效果。
通过 HTML 可 产生 GIF 或J PG 等类型的图片与 Web 其他部分不能很 以表现出图片调用、文字显示等丰富多彩的设计风格可 好地融合图片下载速度较慢非矢量图形不能放大缩小 以实现不同页面之间的跳转和展现丰富多彩的多媒体效 重用性差。
矢量图具有不受设备分辨率影响、显示画面清 果等功能。
晰、可对图像无极缩放而不会影响图像品质的优点 1 。
传 在 Microsoft 的产品中 网页与数据库结合的解决方 统的语言不能很好解决这方面的问题而VML 为该问题 案是