-
Dec 5th, 2008, 09:22 AM
#1
Thread Starter
New Member
cw graph
HTML Code:
Dim testing As Integer
Dim d As Integer
For d = 0 To 3
testing = InputBox("Insert number")
CWGraph1.ChartY (testing)
Next d
here is my codding to create a graph........
user require to insert the value to plot.......
but my problem is how to create a linear graph by using the value that i store in the array function........meaning that when i click a button the line will come out with the value that i stored........then can i create more than one line in ce graph...........
-
Dec 5th, 2008, 10:48 AM
#2
Re: cw graph
Biddefender
You haven't given us much to work with. Plotting a graph in VB,
while very doable, can be somewhat involved. I do a lot with
stock market-like graphs. But, it is unclear as to your goals.
- do you want to create a "column" chart (using an Excel word) ?
- do you want to create a line between 2 points ?
- what is CWGraph1.ChartY ?
BTW, is this for a school project?
Spoo
-
Dec 5th, 2008, 10:57 AM
#3
Thread Starter
New Member
Re: cw graph
actually i use visual basic application in visual basic.........
cw graph is is the function that can be use to create a graph.......
what i want to do is to plot a linear graph between 5 number.....the 5 number is stored in array function so i just need to call the line.........i hope this will help you..
-
Dec 5th, 2008, 11:18 AM
#4
Re: cw graph
Biddefender
Sorry, I'm still confused..
- you're using VBA -- are you doing this in Excel?
- you want to draw a linear graph between "5 number"
- what is "5 number" ?
-- seems like that is only 1 point. "between" connotes 2 points.. what is the other point?
Spoo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|