views:

1770

answers:

6

Hello,

Has anyone got any suggestions on how I can create a very simple graph for a web application? It is to show energy consumption levels per month for a year at a time.

So basically I want it to look like (assuming my ASCII works)

-- \ --

Yeah it doesn't so I've changed my open id image to the sample

http://mrbrutal.myopenid.com/

Sorry for the long winded approach - a question for another time - free image hosting by openid (and another site probably)

Cheers

+2  A: 

If I were you, I'd take a look at Google's Chart API - it will do exactly what you want with the minimum of hassle.

Galwegian
+2  A: 

You should try Google Charts API. There are some nice usage examples that seem to create what you want.

schnaader
A: 

You can also use the new Silverlight charting components from Microsoft. Free and they will render simply images.

Michiel
A: 

Fantastic, cheers Galwegian and schnnaader - this is my quick attempt:

First Attempt

Shame we have to log out through the corporate firewall first but I'm sure I'll think of something!

schnnaader was first so you get the answer but voted you both up! Thanks for being so quick to answer.

David A Gibson
+1  A: 

There is also the new ASP.NET Chart Control.

Rick Glos
+1, that's a cool new control, thanks!
orip
A: 

If you don't mind a JavaScript dependency, the Google Visualization API is pretty nifty.

It's a standard interface to many visualizations, including linecharts, image-based line charts (uses the Google Charts API), and many others which may fit your need even better..

orip