Introduction to chart Parts

Source: Internet
Author: User

Measure a form's built-in control in a rapid development platform: A chart part is a part that is primarily used for data presentation, but can also perform some simple interactions.

is the platform two development in the data to show the most beautiful parts, we need to master some of the necessary knowledge of development. The chart part consists mainly of methods, properties, events.

Example application:


650) this.width=650; "id=" aimg_1841 "src=" http://bbs.delit.cn/data/attachment/forum/201607/07/ 181239ghp2h2i0wspuhb0i.png.thumb.jpg "width=" "height=" "alt=" 181239ghp2h2i0wspuhb0i.png.thumb.jpg "/>"

Optional views:


650) this.width=650; "id=" aimg_1842 "src=" http://bbs.delit.cn/data/attachment/forum/201607/07/ 181242os1s2s1sog8g1l99.png.thumb.jpg "width=" 387 "height=" alt= "181242os1s2s1sog8g1l99.png.thumb.jpg"/>


Implementation method:

The first step: Create a database table and enter the test data as shown in:

650) this.width=650; "id=" aimg_1843 "src=" http://bbs.delit.cn/data/attachment/forum/201607/07/ 181249dpzbbuwjw5qghbp1.png.thumb.jpg "width=" "height=" 102 "alt=" 181249dpzbbuwjw5qghbp1.png.thumb.jpg "/>

Step Two: create a new form, drag into the chart part, and bind a business table in the chart part property bar "Business Table" property;

In the View settings property, make the following settings:

650) this.width=650; "id=" aimg_1844 "src=" http://bbs.delit.cn/data/attachment/forum/201607/07/ 181256eb5bf5ff35tjm5af.png.thumb.jpg "width=" "height=" 223 "alt=" 181256eb5bf5ff35tjm5af.png.thumb.jpg "/>

In the caption settings property, do the settings as shown:

650) this.width=650; "id=" aimg_1840 "src=" http://bbs.delit.cn/data/attachment/forum/201607/07/ 181233ge8q17qbkrdkamjj.png.thumb.jpg "width=" height= "alt=" 181233ge8q17qbkrdkamjj.png.thumb.jpg "/>"

Step Three: Add code to refresh the chart part data in the form event management-load event; Save and click to run to see the effect

Original address: http://bbs.delit.cn/thread-1130-1-1.html

Reprint please specify the source:

Author: metric Technology http://www.delit.cn

Introduction to chart Parts

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.