
Description of the various interfaces and methods used when configuring a Chart component.
In this method, the application developer decides on a data model (for example, a Table Model) by calling the appropriate method on the received model factory instance.
In this method, the selected data model instance is supplied with the appropriate data.
Exposed by the feeder class method IF_FPM_GUIBB_CHART~GET_DEFINITION. Its method GET_TABLE_MODEL provides an instance on the Table Model through interface IF_FPM_CHART_TABLE_MODEL.
Exposed by the feeder class method IF_FPM_GUIBB_CHART~GET_DATA. Its method GET_TABLE_MODEL provides an instance on the Table Model through interface IF_FPM_CHART_TABLE_DATA.
Both interfaces provide access to the selected data model and are implemented by class CL_FPM_CHART_MODEL_FACTORY.
In a first version of the Chart UIBB, the Table Model is offered as the only data model of the FPM Chart UIBB. The Table Model can be consumed easily by the application developer as it can be derived from any DDIC table type.
Exposed by the Model Factory interface IF_FPM_CHART_MODEL_FACTORY~GET_TABLE_MODEL. It is typically accessed in the feeder class methods GET_DEFINITION and GET_DATA. Its method SET_DEFINITION defines the Table Model by setting a field catalogue, and field descriptions.
Exposed by the Model Factory interface IF_FPM_CHART_DATA_FACTORY~GET_TABLE_MODEL. It is typically accessed in the feeder class methods GET_DEFINITION and GET_DATA. Its method SET_DATA sets the Table Model data.
Exposed by the event parameter FPM_CHART_SELECTION of FPM event FPM_CHART_SELECT. It is typically accessed in the feeder class methods PROCESS_EVENT and GET_DATA. Its method GET_CURRENT_SELECTION returns the selected indices from the current round trip.
Using interface IF_FPM_CHART_TABLE_DATA, the application developer sets the current chart data set (method SET_DATA ). Methods GET_DIMENSIONS and GET_MEASURES may be used to enable (respectively, optimize) the selection of data in the feeder class.
All three interfaces are implemented by the class CL_FPM_CHART_TABLE_MODEL.
The Configuration API IF_FPM_GUIBB_CHART_CONFIG is derived from the explicit configuration context of Chart UIBB runtime component FPM_CHART_UIBB. The Configuration API IF_FPM_GUIBB_CHART_CONFIG can be accessed, for example, through the feeder class interface method IF_FPM_GUIBB_CHART~GET_DEFAULT_CONFIG. It is used to create pre-configured chart configurations during the FPM design time, as well as complete dynamic configuration contexts during the FPM runtime .
The Configuration API is implemented by class CL_FPM_GUIBB_CHART_MODEL_CONFIG.