views:

196

answers:

3

hi there..

does anyone know how to create a bar/pie graph based on the value from database in ASP? For example, i would to create a graph based on the number of people who went for vacation in certain state..I would like to retrieve the value directly from database..need help..thanks..

+1  A: 

There are a number of great javascript libraries which can take datasets and convert them into graphs.

are two of the big ones. The plus of javascript is that the processing is done client side and you don't have to send over images, just JSON.

stimms
+4  A: 

You could check out Google Charts.

grossvogel
+1 Google Chart API to be precise
Michal
A: 

Dojo also works well, though documentation is a little scarce.

Microsoft's Office Web components (OWC11) also works on the server side, and it's fairly easy to use.

Third option is to use plain old HTML. Works well sometimes if you want a simple chart, like a horizontal bar chart. You can use a table, with div / span tags set to correct widths ad colors for the bars. Free, easy and requires no plugins of any kind to work.

Fortuatis