• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

Simple graph structure

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
mishbal
Asked:
mishbal
1 Solution
 
Maxim10553Commented:
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
 
PaulHewsCommented:
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
 
leachimCommented:
PaulHews
The range of data will have to be figured out
thanks
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
TimCotteeHead of Software ServicesCommented:
Test
0
 
PaulHewsCommented:
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
 
mishbalAuthor Commented:
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
 
TimCotteeHead of Software ServicesCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now