Solved

Simple graph structure

Posted on 2001-06-04
7
190 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

717 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