본문 바로가기

DEV/ASP.NET

MS Chart 설치

반응형

MS Chart 설치파일

https://www.microsoft.com/ko-kr/download/details.aspx?id=14422


순서

1. Microsoft .NET Framework 3.5 sp1을 설치한다 (상단 링크)

2. Microsoft Chart Control For Microsoft .NET Framework 3.5를 설치

3. web.config에 다음과 같은 설정을 추가


web.config

<appSettings>
    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=d:\TempImageFiles\;" /> [d:\TempImageFiles\]자리는 임시경로
</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>


반응형