By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,570 Members | 999 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,570 IT Pros & Developers. It's quick & easy.

Creating Graphs in c# web forms

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.