Results 1 to 4 of 4

Thread: cw graph

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    8

    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...........

  2. #2
    PowerPoster Spoo's Avatar
    Join Date
    Nov 2008
    Location
    Right Coast
    Posts
    2,656

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2008
    Posts
    8

    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..

  4. #4
    PowerPoster Spoo's Avatar
    Join Date
    Nov 2008
    Location
    Right Coast
    Posts
    2,656

    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
  •  



Click Here to Expand Forum to Full Width