Results 1 to 4 of 4

Thread: Graph control in vb.net?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    Graph control in vb.net?

    Is there a graph control (x axix and Y axis) in VB.nET? I have values stored in 2 dimensional array, and would like to show them on a graph control.

    thank you

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    2 dim array? What does each 'column' of data actually store?

    Please show how you have declared the array and how you have initialised it.

    I have written classes in VC++.net for various types of graph (linear, binomial, polynomial, polar, parametric, statistical etc...) maybe I can translate one over to VB.
    I don't live here any more.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2003
    Posts
    436

    thank you wossname...here is the array ..

    I am doing this in VB.NET.

    After going thru in loops I will end up with a 2 dimensional array of type Arraylist()

    eg: iRates(1,2) will have a value 5.5 stored in it.

    On X-axis , I would like to show Terms (in other words, 1 month, 2 months.....1 Year, 15 year...30 Year)

    On Y-axis, I would like to show the Actual Rate that 5.5 in this scenario.

    Would be very helpful if you have some code so that I can show the output in the form of a graph. I would like to assign the values in the arraylist to the x and y axis of the graph control.

    very kind of you and thank you so much.

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Would it be possible for you to actually post the code that contains the declaration of the array? That way I can get a good idea of what you need.

    Plus the code you use to fill the array would be very handy.
    I don't live here any more.

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