天天看點

微軟釋出新的ASP.NET圖表控件

微軟最近釋出了最新的ASP.NET伺服器端控件 <asp:chart />, 在ASP.NET 3.5 中可以使用這個控件在浏覽器端顯示炫目的圖表。

<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&amp;DisplayLang=en">Download the free Microsoft Chart Controls</a>

<a href="http://www.microsoft.com/downloads/details.aspx?familyid=1D69CE13-E1E5-4315-825C-F14D33A303E9&amp;displaylang=en">Download the VS 2008 Tool Support for the Chart Controls</a>

<a href="http://code.msdn.microsoft.com/mschart/Release/ProjectReleases.aspx?ReleaseId=1591">Download the Microsoft Chart Controls Samples</a>

<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=EE8F6F35-B087-4324-9DBA-6DD5E844FD9F&amp;displaylang=en">Download the Microsoft Chart Controls Documentation</a>

<a href="http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/threads/">Visit the Microsoft Chart Control Forum</a>

一旦安裝了&lt;asp:chart/&gt;控件,就會在Toolbar的"Data"欄出現,也可以在ASP.NET頁面中很容易的使用代碼定義:

微軟釋出新的ASP.NET圖表控件

&lt;asp:chart/&gt;支援豐富的圖表形式,including pie, area, range, point, circular, accumulation, data distribution, ajax interactive, doughnut, and more. 你可以在面闆裡直接輸入資料或者使用資料綁定動态的顯示。在運作的時候,這個控件在伺服器端生成一個圖檔(比如一個PNG檔案),用戶端使用一個&lt;img/&gt; HTML元素來引用這個圖檔。這個伺服器控件提供緩存這個圖檔的功能或者長期作為一個檔案儲存的功能,它在任何标準的ASP.NET頁面都可以工作,不需要特殊軟體的支援。

下面是幾個抓圖:

微軟釋出新的ASP.NET圖表控件
微軟釋出新的ASP.NET圖表控件
微軟釋出新的ASP.NET圖表控件

繼續閱讀