Graph ActiveX Control Samples [CodeProject]

  • 2D Graph ActiveX Control 

Introduction

This is a simple OCX control, which allows you to plot two-dimensional data. Despite the large set of controls that comes with VC++, there is no out-of-the-box control that provides a simple and straightforward 2D data visualization. The ActiveX control tutorial by Kapil Chaturvedi inspired me to write my own control, mostly because I wanted to customize the source code when needed. Over time, the functionality of the ActiveX control became more elaborate, and finally I made decision to publish what I have in hand.

----------- http://www.codeproject.com/KB/miscctrl/ntgraph_activex.aspx

 

  • 3D Graph ActiveX Control

Introduction

This is an ActiveX control based on the OpenGL library, which allows you to plot three-dimensional data. The control is entirely written on ATL/STL, and does not link to MFC libraries.

The control can perform the following functions:

  1. Axis customization, including customizable font, colors, and titles.
  2. Plot a large number of points and updating one or more plots on the graph with new data, replacing the old plot with the new plot.
  3. Plot the multiple elements with individual properties such as line and point color, line width, and point size.
  4. Lighting
  5. Plot styles: {0 (Lines); 1 (Points); 2 (LinePoint); 3 (Surface)}
  6. By setting the Projection property you should be able to change the viewing to: (0) Perspective (in which objects that are closer appear larger), and (1) Orthographic (in which the sizes and angles between objects are maintained no matter what their distance from the viewer).
  7. By setting the TrackMode property you should be able to do: (1) Zooming, (2) Rotation, and (3) Panning at runtime.  

 -----------http://www.codeproject.com/KB/openGL/ntgraph3d_atl.aspx

ActiveX 组件能给你带来可重复使用的、灵活的、可靠与稳定的软件界面方案。 只要开发环境支持ActiveX或OLE (比如 Visual Basic、Visual C++、C#、VBA, C++ Builder、Access、VBA (Excel)、Delphi),ActiveX 控件就能用在你的程序中。 所以图形仪表 ActiveX 控件包中的所有控件都能应用在Visual Basic、Visual C++、 C#、 VBA(Excel 和 Access)、Delphi、Interdev、FrontPage 和其他支持ActiveX的开发工具。大多数控件是图形仪表和图表组件。这些控件包括数字记数器、 条形图表(BarChart)、三维条形图表(3DBarChart)、扩展条形图表(BarChartEx)、圆形仪表盘(CircleGauge)、扇形仪表盘(AngleGauge)、多变量仪表盘(MultiGauge)、 球形状态显示器(BallIndicator)、BMP状态显示器(BmpIndicator)、形状状态显示器(ShapeIndicator)、LED矩阵盘(LEDMatrix)、进度栏(ProcessBar)、进度饼(ProcessPie)、 示波器(Plotter)、XY图表(XYChart)、扩展XY图表,角度图表(AngleChart)、测量标尺(Ruler)、温度计(Temperature)、饼图(PieChart)、百分比栏(Percentage Bar)、三维饼图(3DPieChart)、数值LED(Numerical LED)。 这些控件都有标准的接口特性和函数,能保证响应速度、运行可靠性、最大化可设置性、以及使用简单性和良好的可交互性。 这些都是一些常用的,已被广泛在过程控制HMI、 科学建模与分析、工程仿真、数据获取、金融股票分析、WEB 设计、和其它一些领域。 客户可以使用这些控件去开发他们的新应用, 或扩展升级已有的系统。 这个控件包的最新版本是3.000,它是在前两个版本的基础上,广泛听取客户需求,改进存在的不便之处, 增加了一些新的控件,在原有的控件上增加了不少新功能, 同时也改进了运行品质。 开发者可以买整个软件包,或只买其中一个或几个子软件包。 对每个控件,我们将提供帮助文件(PDF),使用例程(VB6, VC6, HTML, C#, VB.NET,VBA(Excel))等来指导你如何使用这些控件到你的应用程序中去,了解这些控件提供了什么功能。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值