摘要
在使用ASP.NET进行Web开发时,经常需要将各种统计数据或数据库以图形或图表的方式表达出来,以便进行决策和分析。Microsoft Office中所提供的OWC图表组件及其所支持的编程接口集合,为Web环境下统计图表的开发提供了一种十分有效的方法。对Office自带的OWC组件进行了全面研究和剖析,结合笔者在项目开发中的实际经验,总结了一套在ASP.NET中调用OWC组件,使用C#编程语言实现各种动态统计图、折线趋势图的绘制方法和技巧;并将其运用到防洪工程规划地理信息系统中,实现了对水库水位和库容关系以及水库水位和泄量关系的实时分析。
For the requirements of decision and analysis, it often shows a variety of statistic data or database in the ways of figure or chart when developing Web through ASP. NET. Depending on the practical experience during this project development, a set of methods and skills is adopted when transferring OWC in ASP. ,NET and drawing .sorts of statistical chart and polyline trend chart with C# The methods also apply to the GIS of engineering plan. As a result, 24 - hour analysis of the relationship between reservoir storage capacity and reservoir water level and between storage capacity and divulgence capacity were achieved.
出处
《计算机技术与发展》
2009年第10期247-249,F0003,共4页
Computer Technology and Development
基金
水利部重点实验室开放课题(2007005)