You could check out the Microsoft Office Web Components. I believe that they will work in VB 6.0. I use them all the time in my ASP dynamic graph creation!!!!!
It comes as part of Office 2000.
Main Topics
Browse All TopicsHello
Do you know a way of implementing dynamic graphs,
in V.B ? The Graphs should describe data on a time scale (x scale),and should be line graphs.
I saw the internal ms-chart in v.b but it seems to me that this is not a dynamic graph. However if I am wrong, please let me know how I can work with it in a dynamic way - meaning getting data on run time and updating the graph on each data update.
Thanks in advance
EREZ
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Kardi, whilst there is nothing specifically wrong with your proposed "answer" I don't think that it 100% answers the question. For instance you have not shown your code to the GetData call.
In essence the MSChart can easily be used as a dynamic chart, if for instance you have a single line on the graph then the following code would show you how to make this work.
Here is an example which requires a textbox, commandbutton and the chart control on a form.
Private Sub Command1_Click()
Text1.Text = Rnd() * 20
MSChart1.RowCount = MSChart1.RowCount + 1
MSChart1.Data = CDbl(Text1.Text)
End Sub
Private Sub Form_Load()
With MSChart1
.AutoIncrement = True
.chartType = VtChChartType2dLine
.RandomFill = False
.ColumnCount = 1
.RowCount = 0
End With
End Sub
Click on the button and a random value is generated, the graph is updated to add this value as a new datapoint. The more you click the longer the graph.
Business Accounts
Answer for Membership
by: mammouthPosted on 2001-02-25 at 12:09:59ID: 5876879
go there http://welcome.to/fastlib
they have a free set of ocx (1 do graph)