473,396 Members | 1,933 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Line Chart in ASP.NET and C#

I need to generate a series of line charts dynamically from ADO.NET data in
a C#, 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, free, custom control to handle line graphs, or (2) a
link to
some a quality example of code to handle line charts. By "line
graphs", I mean graphs that have time (dates) on the X axis and several
color-coded lines of datapoints plotted on the Y axis. I need it to look
roughly like this example:
http://www.jpowered.com/line_graph/i...line_graph.gif

I posted a similar request here several weeks ago. A couple people made
suggestions:
1.) "check out theVB.NET Resource Kit" -- doesnt work for me as I don't
speak VB. Only C#.
2.) "charting starter kit at www.asp.net" -- doesn't seem to contain a line
chart.

Thanks in advance for any other recommendations!!

Cheers, Bruce
Nov 18 '05 #1
5 3563
Bruce,
Email me on Monday. I have something at work which I think would work for
this.

George

"Bruce Schechter" <br***@coding-r-us.com> wrote in message
news:eh*************@tk2msftngp13.phx.gbl...
I need to generate a series of line charts dynamically from ADO.NET data in a C#, 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, free, custom control to handle line graphs, or (2) a
link to
some a quality example of code to handle line charts. By "line
graphs", I mean graphs that have time (dates) on the X axis and several
color-coded lines of datapoints plotted on the Y axis. I need it to look
roughly like this example:
http://www.jpowered.com/line_graph/i...line_graph.gif

I posted a similar request here several weeks ago. A couple people made
suggestions:
1.) "check out theVB.NET Resource Kit" -- doesnt work for me as I don't
speak VB. Only C#.
2.) "charting starter kit at www.asp.net" -- doesn't seem to contain a line chart.

Thanks in advance for any other recommendations!!

Cheers, Bruce

Nov 18 '05 #2
Hi Gruce,

Firstly I want to thank George for his great help in this issue. Have you
contacted him?

In addition, I have done a lot of research regarding this issue. I am not
sure if there is such a third-part custom control, which can serve your
line chart. However, I found such an article on MSDN

http://msdn.microsoft.com/msdnmag/is...e/default.aspx

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 18 '05 #3
Hi Jacob,

Yes, indeed I have traded emails with George. He may have something to
help, and I am awaiting another update from him.

Thanks for the article link. That was a very clever solution for stacked
bar charts based on dynamically drawn HTML table structures, but I don't see
a way to use the technique for line charts.

So, I'm still looking. But within a couple weeks I will commence designing
the solution myself if an off-the-shelf (free!) solution isn't out there
somewhere.

Thanks again,
cheers, Bruce

"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:bg****************@cpmsftngxa07.phx.gbl...
Hi Gruce,

Firstly I want to thank George for his great help in this issue. Have you
contacted him?

In addition, I have done a lot of research regarding this issue. I am not
sure if there is such a third-part custom control, which can serve your
line chart. However, I found such an article on MSDN

http://msdn.microsoft.com/msdnmag/is...e/default.aspx

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 18 '05 #4
Bruce,
I'm afraid I hit a dead end. Sorry I couldn't be of more help
"Bruce Schechter" <br***@coding-r-us.com> wrote in message
news:O1*************@tk2msftngp13.phx.gbl...
Hi Jacob,

Yes, indeed I have traded emails with George. He may have something to
help, and I am awaiting another update from him.

Thanks for the article link. That was a very clever solution for stacked
bar charts based on dynamically drawn HTML table structures, but I don't see a way to use the technique for line charts.

So, I'm still looking. But within a couple weeks I will commence designing the solution myself if an off-the-shelf (free!) solution isn't out there
somewhere.

Thanks again,
cheers, Bruce

"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:bg****************@cpmsftngxa07.phx.gbl...
Hi Gruce,

Firstly I want to thank George for his great help in this issue. Have you contacted him?

In addition, I have done a lot of research regarding this issue. I am not sure if there is such a third-part custom control, which can serve your
line chart. However, I found such an article on MSDN

http://msdn.microsoft.com/msdnmag/is...e/default.aspx

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


Nov 18 '05 #5
George, No worries. Thanks for trying. cheers, Bruce

"George Durzi" <gd****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Bruce,
I'm afraid I hit a dead end. Sorry I couldn't be of more help
"Bruce Schechter" <br***@coding-r-us.com> wrote in message
news:O1*************@tk2msftngp13.phx.gbl...
Hi Jacob,

Yes, indeed I have traded emails with George. He may have something to
help, and I am awaiting another update from him.

Thanks for the article link. That was a very clever solution for stacked
bar charts based on dynamically drawn HTML table structures, but I don't

see
a way to use the technique for line charts.

So, I'm still looking. But within a couple weeks I will commence

designing
the solution myself if an off-the-shelf (free!) solution isn't out there
somewhere.

Thanks again,
cheers, Bruce

"Jacob Yang [MSFT]" <ji***@online.microsoft.com> wrote in message
news:bg****************@cpmsftngxa07.phx.gbl...
Hi Gruce,

Firstly I want to thank George for his great help in this issue. Have

you contacted him?

In addition, I have done a lot of research regarding this issue. I am not sure if there is such a third-part custom control, which can serve your line chart. However, I found such an article on MSDN

http://msdn.microsoft.com/msdnmag/is...e/default.aspx
I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.



Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Frank | last post by:
I've written a jsp that retrieves data from a sybase table via the sql JSTL. Two colums of data are returned, date and value. Currently the data is placed in an HTML table. Does anyone know of...
3
by: Serdar C | last post by:
hello there.. there used to be a usefull and simple control on vb6.0 which was a line chart.. it was quite easy to use.. but in c# theres a pani named "crystal reports" and its too much complicated...
7
by: Jacky Luk | last post by:
Does anyone know of a downloadable Line ActiveX control which allows me to plot straight lines on a VC++.NET form? Thanks Jack
1
by: Scott H. | last post by:
Hello: I am trying to use Crystal Reports from VS.NET 2003 to produce a simple line chart, where the x axis represents the number of measurements taken and the y axis represents the range of...
0
by: Scott H. | last post by:
Hello: I am trying to use Crystal Reports from VS.NET 2003 to produce a simple line chart, where the x axis represents the number of measurements taken and the y axis represents the range of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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,...

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.