File tree Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Original file line number Diff line number Diff line change @@ -2021,6 +2021,12 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
20212021 class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
20222022 ).
20232023
2024+ panel->generic_tile(
2025+ header = 'Harvey Chart'
2026+ press = client->_event( 'Z2UI5_CL_DEMO_APP_308' )
2027+ mode = 'LineMode'
2028+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
2029+ ).
20242030
20252031 panel->generic_tile(
20262032 header = 'Process Flow'
Original file line number Diff line number Diff line change 1+ CLASS z2ui5_cl_demo_app_308 DEFINITION
2+ PUBLIC
3+ CREATE PUBLIC .
4+
5+ PUBLIC SECTION .
6+
7+ INTERFACES z2ui5_if_app.
8+
9+
10+ PROTECTED SECTION .
11+ PRIVATE SECTION .
12+ ENDCLASS .
13+
14+
15+ CLASS z2ui5_cl_demo_app_308 IMPLEMENTATION .
16+
17+ METHOD z2ui5_if_app ~main .
18+
19+ IF client->check_on_init( ).
20+
21+ DATA (view ) = z2ui5_cl_xml_view=>factory( ).
22+ DATA (page ) = view->shell(
23+ )->page( title = 'Harvey Chart'
24+ navbuttonpress = client->_event( 'BACK' )
25+ shownavbutton = xsdbool ( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
26+
27+ page->harvey_ball_micro_chart(
28+ * colorpalette =
29+ * press =
30+ size = 'L'
31+ * height =
32+ * width =
33+ total = '10'
34+ totallabel = '11'
35+ * aligncontent =
36+ * hideonnodata =
37+ * formattedlabel =
38+ showfractions = abap_true
39+ showtotal = abap_true
40+ totalscale = abap_true
41+ * RECEIVING
42+ * result =
43+ )->harveyballmicrochartitem(
44+ * id =
45+ color = 'Good'
46+ fraction = '8'
47+ fractionscale = 'Mrd'
48+ * class =
49+ * RECEIVING
50+ * result =
51+ ).
52+
53+ client->view_display( view->stringify( ) ).
54+
55+ ENDIF .
56+
57+
58+ CASE client->get( )-event.
59+ WHEN 'BACK' .
60+ client->nav_app_leave( ).
61+ ENDCASE .
62+
63+ ENDMETHOD .
64+
65+ ENDCLASS .
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <abapGit version =" v1.0.0" serializer =" LCL_OBJECT_CLAS" serializer_version =" v1.0.0" >
3+ <asx : abap xmlns : asx =" http://www.sap.com/abapxml" version =" 1.0" >
4+ <asx : values >
5+ <VSEOCLASS >
6+ <CLSNAME >Z2UI5_CL_DEMO_APP_308</CLSNAME >
7+ <LANGU >E</LANGU >
8+ <DESCRIPT >Harvey Chart</DESCRIPT >
9+ <STATE >1</STATE >
10+ <CLSCCINCL >X</CLSCCINCL >
11+ <FIXPT >X</FIXPT >
12+ <UNICODE >X</UNICODE >
13+ </VSEOCLASS >
14+ </asx : values >
15+ </asx : abap >
16+ </abapGit >
You can’t perform that action at this time.
0 commit comments