0

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..

2
  • Classic ASP, or ASP.NET? Commented Sep 1, 2009 at 3:52
  • 1
    So you have other constraints? Is this a public web site or is it an intranet? Are you only interested in something which can be acheived with with free/open source products or would you look at a commercial product? Commented Sep 1, 2009 at 8:22

3 Answers 3

5

You could check out Google Charts.

Sign up to request clarification or add additional context in comments.

Comments

1

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.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.