Creating Graphs in c# web forms

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Coskun Cavusoglu

    Creating Graphs in c# web forms

    Hi I need to build something that works like the following example


    How can can I do this by using c# and web forms. It will be a part of a web
    based project so it has to work on the web. And the important is as the user
    slides the control the graph will change itself. How can I get c# to draw a
    graph on a website depending on the slide controls postion.

    thanks
    coskunc


  • Ignacio Machin

    #2
    Re: Creating Graphs in c# web forms

    Hi Coskun,

    Well the example that you gave is not the best one :) , you see an applet
    is like a program running on the browser, the equivalent would be an activeX
    ( this is just a simplification ) with a web app is VERY much difficult
    render such a complex interface, it's doable but with a lot more of work, if
    what you need is generate graph onfly you better get a third party tool, do
    a google search ( I did this one
    http://www.google.com/search?hl=en&l...8&q=graph+c%23 )

    Hope this help,

    --
    Ignacio Machin,
    ignacio.machin AT dot.state.fl.us
    Florida Department Of Transportation

    "Coskun Cavusoglu" <coskunc@exceed inc.com> wrote in message
    news:eQKjPdQXDH A.1888@TK2MSFTN GP10.phx.gbl...[color=blue]
    > Hi I need to build something that works like the following example
    > http://www.realestateabc.com/calc_v22/calculator.html
    >
    > How can can I do this by using c# and web forms. It will be a part of a[/color]
    web[color=blue]
    > based project so it has to work on the web. And the important is as the[/color]
    user[color=blue]
    > slides the control the graph will change itself. How can I get c# to draw[/color]
    a[color=blue]
    > graph on a website depending on the slide controls postion.
    >
    > thanks
    > coskunc
    >
    >[/color]


    Comment

    • Michael Mayer

      #3
      Re: Creating Graphs in c# web forms

      I question your requirements: "How can can I do this by using c# and
      web forms" Remember to pick your technology based on how it addresses
      the problem at hand, and C# wouldn't be my answer for interactive
      animation on web pages.

      You probably want something that can run client side (otherwise, every
      move of a slider would require a round-trip to your webserver to
      create a new graph). It's possible to make the graphs (using GDI+) on
      the server, but it will be slower than molasses and not scalable since
      every user will be requiring a ton of server resources for all these
      graphs.

      It's also possible to make C# applets that run on the browser (google:
      c# applet), but that's only practical if it's on an intranet and you
      know everybody's using IE6 & has .NET runtime installed.

      Normal client-side programming would be in either JavaScript (google:
      graph javascript), or possibly Macromedia Flash with ActionScript (
      here's an article:
      http://www.4guysfromrolla.com/webtech/111302-1.shtml).

      Good luck!
      mike


      "Ignacio Machin" <ignacio.mach in AT dot.state.fl.us > wrote in message
      news:us6fv4QXDH A.2200@TK2MSFTN GP09.phx.gbl...[color=blue]
      > Hi Coskun,
      >
      > Well the example that you gave is not the best one :) , you see an[/color]
      applet[color=blue]
      > is like a program running on the browser, the equivalent would be an[/color]
      activeX[color=blue]
      > ( this is just a simplification ) with a web app is VERY much[/color]
      difficult[color=blue]
      > render such a complex interface, it's doable but with a lot more of[/color]
      work, if[color=blue]
      > what you need is generate graph onfly you better get a third party[/color]
      tool, do[color=blue]
      > a google search ( I did this one
      >[/color]
      http://www.google.com/search?hl=en&l...8&q=graph+c%23 )[color=blue]
      >
      > Hope this help,
      >
      > --
      > Ignacio Machin,
      > ignacio.machin AT dot.state.fl.us
      > Florida Department Of Transportation
      >
      > "Coskun Cavusoglu" <coskunc@exceed inc.com> wrote in message
      > news:eQKjPdQXDH A.1888@TK2MSFTN GP10.phx.gbl...[color=green]
      > > Hi I need to build something that works like the following example
      > > http://www.realestateabc.com/calc_v22/calculator.html
      > >
      > > How can can I do this by using c# and web forms. It will be a[/color][/color]
      part of a[color=blue]
      > web[color=green]
      > > based project so it has to work on the web. And the important is[/color][/color]
      as the[color=blue]
      > user[color=green]
      > > slides the control the graph will change itself. How can I get c#[/color][/color]
      to draw[color=blue]
      > a[color=green]
      > > graph on a website depending on the slide controls postion.
      > >
      > > thanks
      > > coskunc
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Craig S

        #4
        Re: Creating Graphs in c# web forms

        As it has already been said, you can never accomplish that page in C#...

        However, I have experience (and highly recommend) .Net Charting from Dundas
        Software. ( http://www.dundas.com ) It won't do real-time updates like
        that page, but it generates BEAUTIFUL static graphs...

        "Coskun Cavusoglu" <coskunc@exceed inc.com> wrote in message
        news:eQKjPdQXDH A.1888@TK2MSFTN GP10.phx.gbl...[color=blue]
        > Hi I need to build something that works like the following example
        > http://www.realestateabc.com/calc_v22/calculator.html
        >
        > How can can I do this by using c# and web forms. It will be a part of a[/color]
        web[color=blue]
        > based project so it has to work on the web. And the important is as the[/color]
        user[color=blue]
        > slides the control the graph will change itself. How can I get c# to draw[/color]
        a[color=blue]
        > graph on a website depending on the slide controls postion.
        >
        > thanks
        > coskunc
        >
        >[/color]


        Comment

        • Coskun Cavusoglu

          #5
          Re: Creating Graphs in c# web forms

          Thank you but it has to be real time. So thats why I cant use those chart
          generating components. I'll have to look into activex and try to do it
          somehow thank you..


          Comment

          Working...