Dynamic Graphing in ASP.net

Last post 07-03-2009 4:53 PM by cronus89. 2 replies.

Sort Posts:

  • Dynamic Graphing in ASP.net

    07-03-2009, 6:12 AM
    • Member
      13 point Member
    • cronus89
    • Member since 07-03-2009, 6:03 AM
    • Posts 10

    Hello,

    Having recently moved to ASP.net from a more Applications based background, I am looking for some advice on Dynamic graphing.

    I have a relatively large database of recorded values, taken at intermittent intervals over the course of a year, and I want to allow a user to enter two points in time and view a line chart of the values between those datas.

    I have already done a similar thing in PHP, using SVG which was nice as it allowed me to add things like tooltips on points on the graph etc. SVG does however get very slow when lots of points are needed, and I would rather avoid it due to compatability issues.


    Is there a good library already out there for graphing in ASP.net? I have looked into GD for drawing graphs, and while it is fast it provides as its output just image files which cannot really be interacted with.

    Even better would be a control already out there that takes a dataset and draws me a nice chart...but I might be asking too much here...

    All advice appreciated.

    Adam


    Filed under: , , , , ,
  • Re: Dynamic Graphing in ASP.net

    07-03-2009, 8:25 AM
    Answer
    • All-Star
      53,831 point All-Star
    • DarrellNorton
    • Member since 04-04-2003, 11:49 AM
    • VA, USA
    • Posts 6,504
    • Moderator
      TrustedFriends-MVPs

    There is an ASP.NET Chart Control that you can download and use for free:

    http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx

    Check out the samples download too.  The images on ScottGu's blog post aren't there anymore.

    Also check out Alex Gorev's blog for the many things you can do with the Chart Control:

    http://blogs.msdn.com/alexgor/


    Darrell Norton, MVP
    Darrell Norton's Blog


    Please mark this post as answered if it helped you!
  • Re: Dynamic Graphing in ASP.net

    07-03-2009, 4:53 PM
    • Member
      13 point Member
    • cronus89
    • Member since 07-03-2009, 6:03 AM
    • Posts 10

    Darrell, Thank you very much, the control is brilliant for my needs in getting this product out quickly, seems much faster than SVG generation too.

    I was googling     Binging this for days trying to find something like that, kept only coming across expensive controls


Page 1 of 1 (3 items)