asp.net chart controls

Discussion in 'ASP.NET / ASP.NET Core' started by lilb321, Mar 31, 2011.

  1. How do I get the asp.net chart controls to work? I added the System.Web.DataVisualization.dll and System.Web.DataVisualization.Design.dll to my bin folder.

    This is the error that I get.

    Compiler Error Message: BC30560: 'Chart' is ambiguous in the namespace 'System.Web.UI.DataVisualization.Charting'.

    Thanks for your help.
     
  2. Thanks. I took the dlls out of the bin folder, since they are built into .NET 4.0.

    I then changed this line in my web config file.

    <add key="ChartImageHandler" value="storage=file;timeout=20;Url=~/chartTmpImages/;"/>

    Lastly, I added the chartTmpImages folder to my website.

    Now it works!
     
  3. mjp

    mjp

    Nice, glad you got it worked out.
     

Share This Page