Share a widget that draws a pie chart, column chart, and line chart on WM.

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.