472,133 Members | 1,079 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

Creating Graphs in c# web forms

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 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
Nov 15 '05 #1
4 15486
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" <co*****@exceedinc.com> wrote in message
news:eQ**************@TK2MSFTNGP10.phx.gbl...
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 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

Nov 15 '05 #2
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.machin AT dot.state.fl.us> wrote in message
news:us**************@TK2MSFTNGP09.phx.gbl...
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" <co*****@exceedinc.com> wrote in message
news:eQ**************@TK2MSFTNGP10.phx.gbl...
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 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


Nov 15 '05 #3
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" <co*****@exceedinc.com> wrote in message
news:eQ**************@TK2MSFTNGP10.phx.gbl...
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 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

Nov 15 '05 #4
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..
Nov 15 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Altramagnus | last post: by
16 posts views Thread by David Lauberts | last post: by
4 posts views Thread by Bruce Schechter | last post: by
6 posts views Thread by robert.q.johnson | last post: by
2 posts views Thread by robert.q.johnson | last post: by
4 posts views Thread by =?UTF-8?B?4KSw4KS14KWA4KSC4KSm4KSwIOCkoOCkvuCkleCl | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.