I wish to draw some graphics in a asp.net web application page on some percentages, what is the code required? I'm asking specially for piechart and rectangle.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You can use the data visualization stuff (charting) that comes with .net 3.5 and 4.
There is a downloadable Visual Studio solution (an asp.net web application project) that shows examples of different types of charts and corresponding code and markup:
http://archive.msdn.microsoft.com/mschart/Release/ProjectReleases.aspx?ReleaseId=1591
Depending on your situation, you may even be able to generate pie charts, etc. without writing any code.