下载地址
微软今天发布了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也有,只是需要付费。
下载信息:
-
包含英文版,中文版。上面提供的链接是中文版的,可以更改为英文版。
-
语言包:Microsoft Chart Controls for Microsoft .NET Framework 3.5 Language Pack
Microsoft .NET Framework 3.5 的Microsoft 图表控件 的语言包,包含23中语言。
-
Microsoft Chart Controls Add-on for Microsoft Visual Studio 2008 –
这个只有英文的,没找到中文的。
-
文档 (Microsoft Chart Controls for .NET Framework Documentation)–
这个只有英文的,没找到中文的。
-
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
通过webservice来传送图片
}
}
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.