Microsoft recently released a cool new ASP. NET server control-<asp: chart/>-that can be used for free with ASP. NET 3.5 to enable rich browser-based charting scenarios:
- Download the free Microsoft chart controls
- Download the vs 2008 tool support for the chart controls
- Download the Microsoft chart controls Samples
- Download the Microsoft chart controls documentation
- Visit the Microsoft chart control forum
Once installed the <asp: chart/> control shows up under the "Data" tab on the Toolbox, and can be easily declared on any ASP. NET page as a standard server control:
<Asp: chart/> supports a rich assortment of chart options-including pie, area, range, point, circular, accumulation, data distribution, ajax interactive, doughnut, and more. you can statically declare chart data within the control declaration, or alternatively use data-binding to populate it dynamically. at runtime the server control generates an image (for example. PNG file) that is referenced from the client HTML of the page using a element output by the <asp: chart/> control. the server control supports the ability to cache the chart image, as well as save it on disk for persistent scenarios. it does not require any other server software to be installed, and will work with any standard ASP. NET page.
To get a sense of how to use the <asp: chart/> control I recommendDownloading the Microsoft chart controls sample project. This includes des over 200 ASP. net sample pages that you can run locally. just open the WEB Project in vs 2008 and hit run to see them in action-you can then open. aspx source of each to see how they are implemented.
The below example (under chart types-> line charts-> 3D line and curve charts) demonstrates how to perform line, spline and stepline charting:
The below example (under chart types-> pie and doughnut charts) demonstrates a variety of pie and 3D doughnut options:
The below example (under chart types-> advanced financial charts) demonstrates some graph charts:
In addition to the above samples, you can downloadMicrosoft chart control documentationOr ask questions onChart controls ForumTo learn more.
This shoshould provide a useful (and free) addition to your standard ASP. NET toolkit of functionality, and enable you to easily add richer visualization and data workflow scenarios to your ASP. NET applications.
Hope this helps,
Scott