摘要
介绍了在Microsoft Visual Studio环境下,使用VB.NET语言编写数据范围实时可变、双纵轴平面曲线控件的方法。该控件可根据传入数据自动计算出坐标轴的单位长度、最小刻度值、最大刻度值以及刻度数,使用这些参数和图形数据绘制出带坐标轴的曲线图。试验表明:利用该方法编写的曲线控件具有实时性好,通用性强,占用系统资源少,支持多线程调用,便于重用等特点,为开发带有曲线功能的软件提供了一种可靠的组件。
The paper introduces the method that using VB .NET language to program biaxis plane curve control with the changeable data range in real‐time under the Microsoft Visual Studio environment .The control can calculate automatically the unit length ,minimum value ,maximum value and scale number of ax‐es according to the incoming data and graph the graphical chart with axes by these parameters and graphical data .Experiments show that the curve control by this method has the advantages of better real‐time per‐formance ,stronger commonality ,less usage of system resources ,supporting multi‐threaded calling ,and eas‐ier to reuse ,etc .It provides a reliable component to develop the software with curve function .
出处
《长春工程学院学报(自然科学版)》
2014年第4期106-107,112,共3页
Journal of Changchun Institute of Technology:Natural Sciences Edition