Solved

Simple graph structure

Posted on 2001-06-04
7
189 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
Independent Software Vendors: 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best way to parse out a json string in VB6? 10 384
Visual Studio 2005 text editor 10 54
VBA - If Bookmark = "XXBOOKMARKXX" then 15 62
Assign a value in Excel V-Basic 3 36
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

739 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