This article will help you in creating a column chart or graph using MSChart and how to use MSChart extensions with 3.5 framework.

Note: MSChart will work with ASP.NET 3.5 and above only.
Download and install: Microsoft Chart Controls for Microsoft .NET Framework 3.5.
Download and install: Microsoft Chart Controls for Microsoft .NET Framework 3.5.
Adding Chart Control to your toolbox:- Right-click > Choose Items > Program Files > Microsoft Chart Controls > System.Web.DataVisualization.dll.
Adding Reference-: Program Files > Microsoft Chart Controls > System.Web.DataVisualization.dll.
Following entries will get updated in web.config.
Adding Reference-: Program Files > Microsoft Chart Controls > System.Web.DataVisualization.dll.
Following entries will get updated in web.config.
|
Following sample article using
MVS used: 2008/2010
DB used: Northwind
Now drag and drop asp:Chart control from toolbox to your web form.
MVS used: 2008/2010
DB used: Northwind
Now drag and drop asp:Chart control from toolbox to your web form.
|
Two Methods using in sample.
BindRecords() used to fetch records from DB and plotting the graph, which called on Page_Load.
SetChartAreaFeatures() used to set ChartArea properties.
Sample Codes uploaded, please download and comment.

chetan kumar sPosted Jul 2, 2015, 1:03 AM
Hi,Can you able to send polar chart for windows application in real time
sam patilPosted Mar 13, 2014, 2:08 AM
i just want to make my chart clickable by passing parameter.
sam patilPosted Mar 13, 2014, 2:07 AM
Dear mr Sutish Nair, Can you tell me how to pass parameters to a ms chart control. can u mail me the code to [email protected]
srinivasan asuriPosted May 19, 2012, 10:02 AM
Dear mr Sutish Nair, Can you tell me how to pass parameters to a ms chart control ie how to create a chart dynamically Truly Srinivasan [email protected]
Former memberPosted Feb 8, 2011, 7:16 AM
Hey read ur article on Chart http://weblogs.asp.net/ssnair/archive/2009/10/20/mschart-dynamic-chartarea-series-legends-etc.aspx here. Very useful article Thanks. I suggest you to post the same here also