The BusinessGraphics UI element provides several chart types such as vertical bar charts or pie charts, that can be used for the graphical illustration of data and data relationships. In addition, there are more complex chart types such as portfolio and gantt that can help the user of your Web application to make decisions for corporate planning or find information in general.
You can use the Chart Designer to modify the UI element properties and additional properties, the chart elements, and adapt them to suit your requirements.
See also:
Accessing More Methods in a Business Graphics Element
Working with the Chart Designer
When using a business graphic, always display this UI element alongside a Label UI element to ensure accessibility.
Example of the Display
|
When the template is being designed the tool tip property is checked to guarantee Accessibilty.
Runtime Class |
CL_WD_BUSINESS_GRAPHICS |
Properties in the View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
no |
STRING |
|
no |
|
context node |
|
yes |
|
WDUI_BGTYPE |
columns |
no |
|
STRING |
|
no |
|
WDUI_BGDIMENSION |
two |
no |
|
WDY_BOOLEAN |
true |
yes |
|
STRING |
|
no |
|
I |
300 |
no |
|
STRING |
|
no |
|
STRING |
|
no |
|
STRING |
|
no |
|
context node |
|
mandatory |
|
Text |
|
yes |
|
STRING |
|
no |
|
WDUI_VISIBILITY |
visible |
yes |
|
I |
300 |
no |
Aggregations in the View Designer
Name |
Cardinality |
Type |
0..1 |
||
1..n |
Events in the View Designer
Name |
Further properties that can be inherited are defined in the associated higher-level class. The associated interface elements are:
For dynamic programming the same properties, events, and aggregations are provided in the View Designer. Bear in mind the different spellings.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
BACKGROUND_COLOR |
STRING |
|
CATEGORY_SOURCE |
OBJECT |
|
CHART_TYPE |
WDUI_BGTYPE |
|
chartType: area |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-AREA |
|
chartType: bars |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-BARS |
|
chartType: columns |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-COLUMNS |
|
chartType: doughnut |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-DOUGHNUT |
|
chartType: gantt |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-GANTT |
|
chartType: lines |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-LINES |
|
chartType: mta |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-MTA |
|
chartType: pie |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-PIE |
|
chartType: pipeline |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-PIPELINE |
|
chartType: polar |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-POLAR |
|
chartType: portfolio |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-PORTFOLIO |
|
chartType: profiles |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-PROFILES |
|
chartType: profile_area |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-PROFILE_AREA |
|
chartType: radar |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-RADAR |
|
chartType: scatter |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-SCATTER |
|
chartType: speedometer |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-SPEEDOMETER |
|
chartType: split_pie |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-SPLIT_PIE |
|
chartType: stacked_area |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-STACKED_AREA |
|
chartType: stacked_bars |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-STACKED_BARS |
|
chartType: stacked_columns |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-STACKED_COLUMNS |
|
chartType: stacked_lines |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-STACKED_LINES |
|
chartType: stacked_profiles |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-STACKED_PROFILES |
|
chartType: stacked_profile_area |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-STACKED_PROFILE_AREA |
|
chartType: stacked_radar |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-STACKED_RADAR |
|
chartType: time_scatter |
CL_WD_BUSINESS_GRAPHICS=>E_CHART_TYPE-TIME_SCATTER |
|
CUSTOMIZING |
STRING |
|
DIMENSION |
WDUI_BGDIMENSION |
|
dimension: pseudo_three |
CL_WD_BUSINESS_GRAPHICS=>E_DIMENSION-PSEUDO_THREE |
|
dimension: three |
CL_WD_BUSINESS_GRAPHICS=>E_DIMENSION-THREE |
|
dimension: two |
CL_WD_BUSINESS_GRAPHICS=>E_DIMENSION-TWO |
|
ENABLED |
WDY_BOOLEAN |
|
FONT_FAMILY |
STRING |
|
HEIGHT |
I |
|
IGS_URL |
STRING |
|
IMAGE_SOURCE |
STRING |
|
MAP_SOURCE |
STRING |
|
SERIES_SOURCE |
OBJECT |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
TRANSPARENT_COLOR |
STRING |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_BUSINESS_GRAPHICS=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_BUSINESS_GRAPHICS=>E_VISIBLE-VISIBLE |
|
WIDTH |
I |
Dynamic Programming of Events
View Designer Name |
Runtime Name |
ON_ACTION |
Dynamic Programming of Aggregations
View Designer Name |
Runtime Name |
Cardinality |
CATEGORY |
0..1 |
|
SERIES_LIST |
1..n |
You can find examples of this interface element in the system in the Web Dynpro application WDR_TEST_UI_ELEMENTS, and in the component WDR_TEST_EVENTS in the views BG_*.