摘要
图表是数据可视化的一种重要表现形式.现如今,人们已经不满足于静态无交互的图表绘制方式,更希望能通过友好的交互方式进行图表的绘制.根据目前桌面应用中普遍缺少一款满足交互性的图表绘制软件,且基于B/S的交互式图表绘制应用受网速的制约,使用起来不尽人意的现状,实现了一款基于Qt和D3.js(Data-Driven Documents)的跨平台的交互式图表绘制桌面应用,以Qt框架搭建软件主体,内嵌网页渲染控件以显示基于D3.js的各种图表可视化效果.在此基础上,利用Qt中信号与槽机制,实现了图表绘制的动态交互效果.结果表明,基于Qt和D3.js可以很好地实现交互式图表的开发,交互的效果也很可观.
Chart is an important form of data visualization.Nowadays,people are not satisfied with the static non-interactive drawing method and more expect to draw the chart through friendly interaction.As the current lack of a desktop application of chart drawing software which has the interactive functions and is easy to use and the data visualization web application which based on B/S is restricted by network speed making it unsatisfactory to use,this study implements a cross-platform interactive chart drawing desktop application based on Qt and D3.js(Data-Driven Documents)which builds the software body with the Qt framework,embeds the web page rendering control to display the various visual effects based on D3.js.The results show that Qt and D3.js can achieve the development of interactive data visualization system,and the effect of interaction and drawing is also very good.
出处
《淮海工学院学报(自然科学版)》
CAS
2017年第2期21-25,共5页
Journal of Huaihai Institute of Technology:Natural Sciences Edition
基金
国家自然科学基金资助项目(61303045)
淮海工学院江苏省海洋经济研究中心开放课题(JPRME201608)
连云港市科技局科技攻关项目(CG1501
CK1503)