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