473,657 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 15577
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*****@exceed inc.com> wrote in message
news:eQ******** ******@TK2MSFTN GP10.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.mach in AT dot.state.fl.us > wrote in message
news:us******** ******@TK2MSFTN GP09.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*****@exceed inc.com> wrote in message
news:eQ******** ******@TK2MSFTN GP10.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*****@exceed inc.com> wrote in message
news:eQ******** ******@TK2MSFTN GP10.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
16365
by: Job Lot | last post by:
Can some please provide some tips, links whatever possible on creating Graphs in WINDOWS FORMS application (not web forms), using DataSet, DataTable etc etc… anything. I am totally lost and cud not find anything helpful.
4
561
by: Altramagnus | last post by:
I have 30 - 40 type of different window. For each type I need about 20 instances of the window. When I try to create them, I get "Error creating window handle" My guess is there is a maximum number of window handle, because if I reduce to about 2 instances of each window, it can run. But not 20 instances of each window. Does anyone know what the problem is? is it really because it exceeds the maximum number of window handle?
16
11851
by: David Lauberts | last post by:
Hi Wonder if someone has some words of wisdom. I have a access 2002 form that contains 2 graph objects that overlay each other and would like to export them as a JPEG to use in a presentation. I can do this individually for each graph but this does not help me as I need both on the same JPEG. I thought I would try an export the form that contains both but I am having trouble. (My VBA is self taught and a little knowledge is...
4
1931
by: Bruce Schechter | last post by:
I need to generate a series of line charts dynamically from ADO.NET data in an ASP.NET application. I've read several articles about using GDI+ to render graphs into a bitmap image and then to place those images within an ..aspx page. If necessary, I'll do all the hand-coding in that way. But I'd rather not. :) On the contrary, I'm posting here to see if anyone can recommend either (1) a readily available custom control to handle...
6
4982
by: robert.q.johnson | last post by:
Help. I am trying to create a web page in C# to display a row of data with bar graphs (an image 1px). I get the max value of the row and use the following formula to size the height of the image, but the bar graphs are not sizing correctly. Can anyone provide me with a solution or any ideas. rowValue / maxRowValue * maxBarHeight
2
1698
by: robert.q.johnson | last post by:
Help. I am trying to create a web page in C# to display two rows of data with bar graphs (an image 1px). I get the max value of the row and use the following formula to size the height of the image, but the bar graphs are not sizing correctly. Can anyone provide me with a solution or any ideas. rowValue / maxRowValue * maxBarHeight
6
1605
by: JanM | last post by:
Hi all, I working on a Q&A database in which several lists of questions are defined. On each question a number of answers can be given. A list of questions can be entered into the database via forms. So far so good. Out of these entered lists I want to make reports. The idea is to make for one type of list per question a bargraph where on the x-axis all the possible answers for the question are positioned as categories and on the y-axis...
4
1829
by: =?UTF-8?B?4KSw4KS14KWA4KSC4KSm4KSwIOCkoOCkvuCkleCl | last post by:
hello friends i am trying to dynamically create graphs in browsers(as in graph theory, something like this http://sawamuland.com/flash/graph.html , not like excel graphs) but i am unable to find any starting point. are there some tutorials/libraries to do the same ? i am ok to develop these in javascript/xhtml/flash/etc as long as this can be done dynamically.
0
8827
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8504
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8606
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6169
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2732
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1622
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.