How to create a simple line graph in VB.NET for a website
-
03-07-2019 - |
Question
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
Sorry for the long winded approach - a question for another time - free image hosting by openid (and another site probably)
Cheers
Solution
You should try Google Charts API. There are some nice usage examples that seem to create what you want.
OTHER TIPS
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.
There is also the new ASP.NET Chart Control.
You can also use the new Silverlight charting components from Microsoft. Free and they will render simply images.
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..