Thursday, November 24, 2011

Asp.NET Charting Controls

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 


  • Reference link:http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx
    Common Issue:
    MS Chart - System.Web.DataVisualization not found
    1. Follow this directory on windows explorer:
      C:\Program Files\Microsoft Chart Controls\Assemblies
    2. You will see 4 DLL files inside the folder. Two of those files are for Windows Applications and two of them for Web Applications. We need web application dll files so copy the dll files which are named 'System.Web.DataVisualization.Design' and 'System.Web.DataVisualization'
    3. Paste those dll files into the Bin folder on the root directory of your Web Application.
    4. Secondly, open the Web.Config file on the root directory of your web application.
    5. Find the <appSettings> node. You have a key add inside this just like below;

      <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />

      Replace this tag with the new one as below;

      <add key="ChartImageHandler" value="storage=file;timeout=20;"/>
      Save the changes on your Web.Config file and close it. Now copy the two dll inside the bin folder and replace the Web.Config file on your server with your new Web.Config file. 
      1. Reference Link:http://tinyurl.com/yl9kz95

      No comments:

      Post a Comment