After installing and playing with the Asp.Net Charting control I decided to use it for a customer. When integrating the control to the project I got the following error
"Error executing child request for ChartImg.axd"
This error occurred because I did not update my web.config file. You have to add the following appSettingkey, httpHandler and handler.
[code:xml]
<appSettings>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:TempImageFilesDit;" />
</appSettings>
<httpHandlers>
<add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
</httpHandlers>
<handlers>
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
[/code]
More info about the Charting control:
http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx
Enjoy charting,
Pieter