Yes. Now we can use <asp: Chart runat = "server"/>. Related Articles and downloads:
The new ASP. NET chart control is released)
First, it must be vs2008,. net3.5sp1:
<Asp: Chart/> supports various chart options, including pie, area, range, point, and circle ), accumulation, data distribution, Ajax interactive, and doughnut. You can declare chart data statically in the control declaration, or use data binding to dynamically fill in chart data. When running, the server control will generate an image (for example,. PNG file). The elements output by the <asp: Chart/> control are referenced in the client HTML of the page. This server control supports the function of caching chart images and saving them to hard disks for use in persistent scenarios. It does not require installation of other server software and can be used on any standard ASP. NET webpage.
To learn how to use the <asp: Chart/> Control, I suggest you download the Microsoft chart control sample project. This project includes more than 200 ASP. NET sample web pages that can be run locally. You only need to open the WEB Project in vs 2008 and click "run" to see the actual display of them. Then you can open the. aspx source code of each example to see how it is implemented.
After the control is installed, it is used for debugging like a normal Asp.net server control. If the control cannot be published on the server
System. Web. datavisualization. xml
System. Web. datavisualization. Design. dll
System. Web. datavisualization. dll
Copy to the bin directory of the root directory of the website on the server. If this is the first time you run the command, create a tempimages file under the root directory of the website to generate temporary images and grant sufficient permissions.
Because you have not found any official online documents and examples like ajaxtoolkit, friends who do not have time to download the document sample can access the online documents I just uploaded:
Http://dotnetchart.omgsoft.com.cn/
Click the tree directory on the left to view the effects it can achieve, with C # and VB code, and HTML code (if needed ).
After a brief look at the effects and code, if you have used the zengraph control, you will be familiar with the code implementation. However, this control is beyond the zengraph, such as the powerful 3D effect, we don't have to envy a paid commercial software, as well as the tooltip effect (you can also display subcharts In The tooltip !), You can even click the image data to customize the implementation (through the IMG <map> <area .. />) before that, I used the open-source zengraph for complex charts, and Google chart for simplicity, however, the effects of Flash charts cannot be achieved on the web. However, all of this has passed. More functions are waiting for discovery. What are you waiting for to create a better website?
By the way, it is free of charge.
I hope this article will help you.
Happy programming!