In recent work, you need to draw statistical charts on Windows Mobile, such as pie charts, column charts, and line charts. Although the required form is relatively simple, third-party or open-source control class libraries are not allowed, I had to write a simple one myself. Initially, the pie chart, column chart, and line chart are drawn. The color of data within 20 groups can be set automatically (the color system is taken from Excel 2007 ). Now I want to share with you some suggestions for improvement.
First look:
Class diagram:
The project is based on. NET Compact Framework 2.0 SP2 and wm6. It is built with vs2008 and hosted on VSS. When it is enabled, a message indicating that the source code management server cannot be found is displayed. ignore or permanently remove the binding. To port to vs2005, you need to create a class library project and manually add the file.
Class Library and example source code download http://files.cnblogs.com/key/ChartTest.zip