tags:

views:

1418

answers:

7

How to create asp.net 2.0 pie chart and bar chart

+5  A: 

The MS Charting Control?

Marc Gravell
i found it rather complex to get started with but definitely nice and powerful
RobV
A: 

In addition to Microsoft Charting you can also get good components from

  1. Dundas
  2. DevExpress
  3. DotNetCharting
Conrad
A: 

For a different approach than the MS Chart Control or other components would be to use to use the Microsoft Report Viewer control and design a report (locally or via reporting services) that way.

Chalkey
+3  A: 
Luke
+2  A: 

You could write your own Generic Handler (.ashx) that generates an Image of your Bar Chart/Pie Chart as a Bitmap using System.Drawing and saves it to the Response.OutputStream if a) you really want to make life hard for yourself or b) really need to customise the output in detail

Much better to use one of the Controls recommended by the other guys

RobV
The Bitmap etc classes are not supported for use on a web server; see the caution block here: http://msdn.microsoft.com/en-us/library/system.drawing.aspx
Marc Gravell
that only applies to Web and Windows Services, a Generic Handler is simply part of a Web Application. I've never had any issues with this
RobV
just read some more related stuff to that and MS class an ASP.Net Web Application as a Service, my bad
RobV
A: 

Recommended: http://www.simplechart.net/

simon831
A: 

ZedGraph?
Examples:

alt text alt text

Gacek