您的位置:首页 > 编程语言 > ASP

微软发布新的ASP.NET图表控件

2008-11-26 17:36 501 查看
微软最近发布了最新的ASP.NET服务器端控件 <asp:chart />, 在ASP.NET 3.5 中可以使用这个控件在浏览器端显示炫目的图表。

Download the free Microsoft Chart Controls

Download the VS 2008 Tool Support for the Chart Controls

Download the Microsoft Chart Controls Samples

Download the Microsoft Chart Controls Documentation

Visit the Microsoft Chart Control Forum

一旦安装了<asp:chart/>控件,就会在Toolbar的"Data"栏出现,也可以在ASP.NET页面中很容易的使用代码定义:



<asp:chart/>支持丰富的图表形式,including pie, area, range, point, circular, accumulation, data distribution, ajax interactive, doughnut, and more. 你可以在面板里直接输入数据或者使用数据绑定动态的显示。在运行的时候,这个控件在服务器端生成一个图片(比如一个PNG文件),客户端使用一个<img/> HTML元素来引用这个图片。这个服务器控件提供缓存这个图片的功能或者长期作为一个文件保存的功能,它在任何标准的ASP.NET页面都可以工作,不需要特殊软件的支持。

想要更好的理解这个控件,我推荐downloading the Microsoft Chart Controls Sample Project.

下面是几个抓图:







除了上面的一些示范,你可以下载Microsoft Chart Control Documentation 或者去Chart Controls Forum 讨论

来源与Scott的博客:http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: