In-depth introduction to CChart one lesson per day-Lesson 1: a glimpse of the leopard, a staged Summary of the graduation ceremony

Source: Internet
Author: User

After this time, the stupid CChart series of tutorials will finally come to an end.

It's time for separation. Although sad, You Have To Be Happy first.

20.1 Jay Chou

Saying that one day Jay Chou lost his way in the desert, then he found a lamp. He touched the lamp and came out of it as a fairy. The fairy said, "I can satisfy your three wishes ."

Jay Chou blurted out happily: "Wow! !" He only heard a bang, And he squatted on the ground in pain.

The fairy said, "What about the second wish ?". Jay Chou said with difficulty: "Cure my brother ." Sure enough, he stood up and looked at it, intact. Then I was surprised: "Wow! !"

The voice did not fall, and I heard a bang from Jay Chou. The Fairy has turned into a smoke and floated away, leaving Jay Chou alone in the desert.

In the second year of Xi's great epoch, not only did Zhou Dong encounter the magic lamp, but he even met the ray of Xiaomi and Google's HugoBarra.

Students, do you feel the same as Zhou Dong after you have listened to the previous course? CChart is indeed a bunker, right?

20.2CChart class library structure

Here, we can clearly tell you that the functions described in this series of tutorials are only a small part of the functions of the CChart class library.

The CChart class library consists of five parts: Core class, extension class, 3D class, packaging class, and extension class.

The core class mainly refers to the class for drawing line charts and its related support classes, which is the most basic part. Although it is basic, it is stupid to set numerous options in the core class, which makes CChart very flexible and easy to use. The wide array of CChart internal options can be seen from the context menu. In fact, the context menu only uses a small portion of the internal options of CChart.

In addition, let's take a few examples, such as the coordinate axes of the logarithm type, the coordinate axes of the display time, the year, the day, the minute, and the second), the mark of data points, and the error bar. Some options are also displayed later in this lesson.

Extension classes are various special plotting functions based on core classes. The pie chart, bar chart, contour map, cloud map, split view, layered view, and shared X-axis view described above are all extended functions. There are actually more than 30 types of extension classes.

3D class uses OpenGL technology to draw three-dimensional curve and surface, which has a certain relationship with the core class. This section describes how to draw a three-dimensional curve.

Because the core classes, extension classes, and 3D classes are based on templates, programming is relatively complex. To simplify programming, the new version of CChart adds packaging classes, which completely hides the details of the template class.

The latest CChart version also adds extended classes for compiling the category simulation interface. The extended classes are independent of the previous classes in terms of functions and implementations.

Shows the relationships of several types.

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215250187? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

20.3 functions of Dynamic Link Edition

The dynamic link version is actually a small part of CChart.

This course provides a comprehensive introduction to the functions of the Dynamic Link edition. You can also find that the functions are quite rich. Stupid, as long as there are no special requirements, it is enough.

There are two problems. One is that the extension class and many extension classes are not packaged, and the other is that the various options in the class library cannot be set.

The students will ask why they are stupid and don't pack all the functions.

The purpose of setting up Packaging classes is to simplify programming, but it was discovered that packaging is actually a technical activity. There are differences between various chart types in CChart, some of which are obvious, and some of which are subtle. It is not easy to pack these functions and work properly. The packaging class has not implemented any new functions, and its code has already reached thousands of lines. It takes a lot of effort to package all the functions. So there is no plan to expand the packaging class on a large scale.

20.4 authorization Problems

This problem is simple, as long as it is not a commercial application.

20.5 source code Problems

Some people are very concerned about the source code. The download channel of the CSDN website is the open source version of CChart.

Http://download.csdn.net/detail/baita96/4597703

20.6 new function demonstration

The following shows some features that did not appear before.

650) this. width = 650; "title =" Lesson20-19.PNG "src =" http://www.bkjia.com/uploads/allimg/131228/19391215G-0.png "alt =" 073903296.png"/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215356781? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215400593? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130925192405171? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215439359? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215437781? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215515484? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215552500? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215608062? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215633921? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215654437? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215724281? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215721781? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130925192423734? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130925192358890? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215757125? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215757515? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

650) this. width = 650; "alt =" SouthEast "src =" http://img.blog.csdn.net/20130921215837640? Watermark/2/text/plain =/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA ==/ dissolve/70/gravity/SouthEast "/>

20.7 stupid contact information

Mail: baita00@aliyun.com

QQ and: 1541583

Related Article

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.