Header Ads

Seo Services

微軟的免費午餐?!Microsoft Chart Control for Not Net framework 3.5介紹

ChartSamples_thumb_1
這個MS Chart Control一直就很想介紹了,不過一直都沒有時間寫,今天一定把它介紹出來
一直以前,想在Visual Studio平台出圖表都要自己寫Class或是靠第三方軟件,微軟也深明圖表在Data Visualization中的重要性,所以終於在08年的11月中推出了這個MS Chart Control,不過明眼的人一看就會知道為什麼這個MS Chart Control長的那麼眼熟,沒錯,MS Chart Control的前身就是Dundas Chart Control,是微軟買了Dundas Chart Control後再重新編寫再發佈
暫時知道的是,這個Chart Control將會整合在Visual Studio 2010中
安裝前需知:
- 這個Chart Control只可知在Visual Studio 2008中使用
- 安裝前先把.Net Framework 升級到3.5sp1
- 安裝前先把Visual Studio 2008升級到sp1
官網: Samples Environment for Microsoft Chart Controls
下載網址:
Chart Controls for .NET Framework
Chart Controls for .NET Framework Language Pack
Chart Controls Add-on for Visual Studio 2008
Chart Controls for .NET Framework Documentation
01
先安裝Chart Control
04
再安裝Chart Control Add-on for Microsoft Visual Studio 2008
06
安裝後可以建立一個Project來測試
07
可以看到Chart已經在ToolBox中出現了
08
把Chart拉出後會看到
09
自己寫了個function來產生100個亂數,再把亂數Bind進去

總結:
整體來說這個Chart Control真的不錯,這次只是很簡單都介紹了,在淨入的大家可以玩玩,其他的functions例如Annotation,Zoom,之類的都沒有介紹到,不得不說的是這個Chart Control不單支援Windows Forms,還可以在Web上用,不過功能沒有Windows Forms中那麼多,不過Web的也很好玩的就是了

4 則留言:

zhangbotta 說...

請問chart control可以用在visual studio 2008 express嗎?

Terry 說...

回zhangbotta:
你可能會失望了,根據http://msdn.microsoft.com/en-us/magazine/dd569763.aspx
的說法是,chart control是給非express版的visual studio 2008用的
原文:"Note: The Microsoft Chart Controls require the .NET Framework 3.5 SP1; the Visual Studio Add-In is for the non-Express versions of Visual Studio 2008"

ガガ 說...

想問一下,若已安裝在vs2008並能運行。但放在web server上便不行,是否也要在web server上安裝.net3.5sp1?

Terry 說...

回surrounding:
如果development機同web server不是同一部機,最好是在web server再安裝一次

Blogger 提供.