How to graphically represent dynamically changing values in a table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ashish ranjan
    New Member
    • Feb 2007
    • 15

    How to graphically represent dynamically changing values in a table

    Hi there,

    I want to show changing value of share price (i m showing all share value of all companies in gridview and refreshing gridview in 10 second) of a selected company through a line graph.This line graph will be separate from the gridview.

    Suggest me how to proceed.

    Regards,
    Ashish
  • bergy
    New Member
    • Mar 2007
    • 89

    #2
    I suggest creating a PictureBox and learning how to use the System.Drawing objects to draw the line on to the picturebox. It's pretty easy to get the hang of, below are a couple links:

    Microsoft - Draw a line in a PictureBox VB and C#
    Great System.Drawing Tutorial - all in C# but once you understand the objects you can easily call the same subs/functions in VB

    After reading that stuff, try it out and see what you can come up with. You can also google System.Drawing and start browsing through tutorials and source code from there.

    There are also many (perhaps free) graphing and plotting controls available if you wanna go that way, I suggest typing something '.net graph control' or '.net chart control' in google and seeing what you come up with.

    Happy Coding!

    Adam

    Comment

    • deepusurana
      New Member
      • Mar 2007
      • 5

      #3
      Hi,
      If you can use AJAX ASP.Net then you can use update panel...
      Other wise you can also use frames but is not a suggested way.

      Comment

      • bergy
        New Member
        • Mar 2007
        • 89

        #4
        I just ran into this article today, it's exactly what you're looking for and looks pretty amazing. I can't wait to use it next time i need a graph or chart...

        Comment

        • ashish ranjan
          New Member
          • Feb 2007
          • 15

          #5
          Originally posted by bergy
          I just ran into this article today, it's exactly what you're looking for and looks pretty amazing. I can't wait to use it next time i need a graph or chart...

          http://www.codeproject.com/csharp/zedgraph.asp

          Thanks Berby....i solved that problem by using a dll "WebChart".

          Comment

          Working...