Solved

Simple graph structure

Posted on 2001-06-04
7
180 Views
Last Modified: 2008-03-03
I would be gratefull for help in plotting a simple graph
I have a stream of data going into a listbox and i need to chart it continuously similar to the view you get on a cardiograph
0
Comment
Question by:mishbal
7 Comments
 
LVL 3

Expert Comment

by:Maxim10553
ID: 6152439
the best way to do this would be to create the basic graph in Excel, use Excel'S COM to update the graph dynamically according to your input, and view the updated graph in an OLE container on your VB app.
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6152560
Do you know the range of data you will get before hand, or will we have to figure mins and maxs as we go?
0
 

Expert Comment

by:leachim
ID: 6152877
PaulHews
The range of data will have to be figured out
thanks
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 43

Expert Comment

by:TimCottee
ID: 6152911
Test
0
 
LVL 38

Expert Comment

by:PaulHews
ID: 6153028
I thought I might have some code on tap, but it looks too complicated with extraneous computations to post here.  Basically, what I do is calculate a max X and Y value from my data set, then scale it into a picture box.  Clear the picture box on each pass and use picture.line to draw the line from data point to data point.

I answered a question like this last year, but I can't find it now.  Probably a question with a silly name, :( ("Calling all Experts" or something.)
0
 

Author Comment

by:mishbal
ID: 6153060
PaulHews
Thanks for those pointers
i will keep the question open as i dont feel fluent enough with vb to develop on the information you have given me I will search experts exchange for your previously answered question
Thanks
0
 
LVL 43

Accepted Solution

by:
TimCottee earned 50 total points
ID: 6231424
mishbal, you should probably delete this question as I think it is related to the one that I answered for you subsequently. Or if you wish award the points to the expert that you feel helped you the most.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now