SHARE
Facebook X Pinterest WhatsApp

Fast Graphs WITHOUT an ActiveX / OCX Control

Many business applications need graph functions, but almost all third party graph packages out there are heavy .OCX files which can easily get bigger than one megabyte. This was the reason why I developed the included code which draws a graph. Advantages: – Size less than 10kb – FAST. The graph function has no OCX […]

Written By
thumbnail
CodeGuru Staff
CodeGuru Staff
Jan 30, 2004
CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Many business applications need graph functions, but almost all third party graph packages out there are heavy .OCX files which can easily get bigger than one megabyte. This was the reason why I developed the included code which draws a graph.

Advantages:

– Size less than 10kb

– FAST. The graph function has no OCX overhead and no DLL calls

– The source code is included so you can customize the code as you want

The only type of graph supported is line-2d. This mode should be enough for analysis programs, monitoring programs. I suggest you take a look at frmMain_Load to learn how to use the routines. Also, I supplied the sub "CreateNewGraphStandard" where you can also see how to set the important fields.

If you have any comments, bug reports, questions, problems or feedback feel free to email me at felix@tiberiumsun.com!

This code was written for the Codeguru.com VB contest. This code may be used free, but I would be happy if you could drop me a line if you like it and if you use it 🙂

Download Source

Recommended for you...

Using Multiple Programming Languages to Create an ASP.NET Website
Tariq Siddiqui
Jun 11, 2022
Visual Basic Features in Visual Studio 2022
Hannes DuPreez
Jan 25, 2022
Playing with Strings: Proper Case
Hannes DuPreez
May 27, 2020
Making a Small Lotto Game in VB.NET
Hannes DuPreez
Apr 28, 2020
CodeGuru Logo

CodeGuru covers topics related to Microsoft-related software development, mobile development, database management, and web application programming. In addition to tutorials and how-tos that teach programmers how to code in Microsoft-related languages and frameworks like C# and .Net, we also publish articles on software development tools, the latest in developer news, and advice for project managers. Cloud services such as Microsoft Azure and database options including SQL Server and MSSQL are also frequently covered.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.