Generating Dynamic Bar Charts with ASP.NET

This tutorial will walk you through how to generate a dynamic bar chart image for displaying numeric data to your users in an easy-to-digest format. During the course of this tutorial you will learn about the classes that reside within the .NET Frameworks System.Drawing namespace, and how these classes can be used to vastly improve the user experience of your pages.
 
The code presented in this tutorial can be used to generate bar charts, like the image shown below, that can be based on any type of numeric data; this data could be stored in a database, passed from the user via a form or any other source. This tutorial does not require any third party components; all that’s required is natively built into the .NET Framework.

As usual, ASP.NET expert supplies all the code for download in the C# language and  VB.NET
$2.89
- OR -

Overview

Table of Content:

  • An introduction to the System.Drawing namespace
  • The Basics of dynamically generating images
  • Using a dynamically generated images on a page
  • Dynamically generate a bar chart image
  • Summary

Kevin Marshall

Kevin MarshallI live in Perth, Scotland and am senior programmer with WebXeL.com Ltd. I have been involved in computer programming since 1990, web based programming using ASP since 1997 and have been building ASP.NET applications since ASP.NET Beta 2 was released.

I have been an avid Dreamweaver user since Version 1 was launched and with the release of MX have moved into developing extensions. WebXeL run a website dedicated to the development of free and commercial Dreamweaver MX extensions for ASP.NET, the site can be found at http://www.webxel-dw.co.uk.

See All Postings From Kevin Marshall >>

Reviews

Be the first to write a review

You must me logged in to write a review.