MS Chart相关

下载地址

http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c

 

微软今天发布了Net Framework 3.5下的 Chart 控件,弥补了.Net平台下缺乏一个十分强力的图表控件。

该图表控件支持多种图表,如饼图,柱状图,曲线图,散点图,雷达图,面积图,股票图等,同时支持Winform和Asp.net。

目前该控件只能用在.Net Framework 3.5上,没有查找到For .Net Framework 2.0的信息。

补:根据stu_acer的反馈,原来该款控件来自dundas.com,   For .Net Framework 2.0也有,只是需要付费。

下载信息:

  1. 控件:Microsoft .NET Framework 3.5 的 Microsoft 图表控件(Microsoft Chart Controls for Microsoft .NET Framework 3.5)–

    包含英文版,中文版。上面提供的链接是中文版的,可以更改为英文版。

  2. 语言包:Microsoft Chart Controls for Microsoft .NET Framework 3.5 Language Pack

    Microsoft .NET Framework 3.5 的Microsoft 图表控件 的语言包,包含23中语言。

  3. Microsoft Chart Controls Add-on for Microsoft Visual Studio 2008

    这个只有英文的,没找到中文的。

  4. 文档 (Microsoft Chart Controls for .NET Framework Documentation)

    这个只有英文的,没找到中文的。

  5. WinForm 和 Asp.net的例子(Samples Environment for Microsoft Chart Controls) –

    这个只有英文的,没找到英文的。

 

 

如何设置X或者Y轴Label间隔数(默认为自动分配,有时候12个X,只会显示6个的lable)
chart1.ChartAreas[0].AxisX.LabelStyle.Interval = 1;
设置为每隔1个就显示一个Lable。
MSChartTest
在UpdatePanel中使用Charts Controls 

Code
http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/b6d90e08-d0e9-4bdd-953c-02de8c938e48
通过webservice来传送图片

Code
GridView中使用
The most simple way to achieve master detail in grid view is to insert a data source and chart ( and other detail output if you need) in a template field. Use data grid RowDataBound event to sync the data sources. The sample bellow shows territory name in the first column and a pie chart in the second column, data bind to sales.
Code
http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/bb0548cc-90f7-4622-8ced-61ded9a63b3d
posted @ 2009-07-22 14:46  邑尘  阅读(500)  评论(0编辑  收藏  举报