Microsoft Releases ASP.NET Charting Controls

In November, the ASP.NET team released a long anticipated Charting Control along with a VisualStudio.NET 2008 plug-in.

Here are some download links:

We have tested this charting control by uploading the System.Web.DataVisualization.dll into the application bin directory on our hosting server.

You’ll need to make some minor configuration changes before it will work properly though.

1) The Charting control uses a default location to store the generated chart images; the default location needs to be modified in the web.config for the control to function properly.  You should add/update this line in your web.config:

    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=
    [Some directory within your site];" />

2) This control will only work in Full Trust Mode. If you are hosted our IIS7 hosting platform, you’ll need to elevate the trust level to “full” in your web.config file.

Here is a working sample on our web servers:

Other resources:

Frank Cheung

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.