- 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:
- Axis customization, including customizable font, colors, and titles.
- 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.
- Plot the multiple elements with individual properties such as line and point color, line width, and point size.
- Lighting
- Plot styles: {0 (Lines); 1 (Points); 2 (LinePoint); 3 (Surface)}
- 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). - 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