摘要
ECharts作为数据时代直观、生动、可交互、可个性化定制的数据可视化图表,其显示的数据仍然从数据库获取。文章从数据获取角度出发,阐述了数据库访问类的构建及应用、AJAX页面异步通信、响应页面处理等ASP.net服务器端及页面处理过程,最后描述了ECharts组件的构建、数据序列的设置及显示方法,实践了从原始数据获取到曲线图表展现的通用过程,为IT人士的应用开发提供参考。
As a visualized,vivid,interactive,customizable data visualization chart in the data age,the displayed data on ECharts is still obtained from the database.From the angle of data acquisition,this paper describes the construction and application of the database access class,asynchronous communication between AJAX pages,response page processing and other ASP.net server-side and page handling process.Finally,the construction of ECharts component,data sequence setting and display method are described,and the general process from getting original data to graph showing is implemented,and it provides reference for IT's application development.
作者
王双立
谭炜乐
吕钢
邢吉生
Wang Shuangli;Tan Weile;Lyu Gang;Xing Jisheng(Beihua University, Jilin 132021, China)
出处
《江苏科技信息》
2018年第32期33-35,共3页
Jiangsu Science and Technology Information
基金
"十三五"吉林省教育厅规划项目
项目编号:吉教科合字2016-60
国家级大学生创新创业训练计划项目
项目编号:201711923048
吉林省大学生创新创业训练计划项目
项目编号:201711923055