tags:

views:

97

answers:

2

I need an open-source based graphics library to generate jpg graphics from database such as data from MS SQL server. I guess where the data coming from does not matter. The graphics will be something like trend for curve, bar, pie...

What I found are couple of libraries available such as NPLOT and ZedGraph, Before I roll my leef on those, just want to get guru's opinions on this issue. Any other libraries better than these two?

A: 

U can make ur own bars, pies, etc, using GDI+ that is Implemented in the Graphics Classes on the framework. Just google it. but if u want a more professional look'n'feel u have to buy a component.. its the better way..

Juan Andreu
learn to spell, arghh...
Nathan Koop
+2  A: 

The Microsoft Chart Controls for Microsoft .NET Framework 3.5 are free but not open source. The data binding support appears to be quite comprehensive and charts look quite nice as well.

My only experience with ZedGraph was from a couple of years back. It didn't play nice in our partial trust ASP.NET environments, so perhaps that's something to consider if you're attracted by it.

Kev

Kev
quick look at the page. It looks cool. Does it allow saving image as jpg? I need to run it as console app to auto generate jpg for html.
David.Chu.ca
The Chart class has a SaveImage method and you can save to file/stream and a wide variety of formats including jpeg, gif, png.
Kev