Show TOC

 Representation Types Locate this document in the navigation structure

 

The UI component of APF provides various representation types that can be used to display data.

Each representation type has a constructor assigned. The constructor is used as a parameter in the representation type object of the configuration file and points to the implementation of the representation type. The charts shipped with APF are implemented using the VIZ charting library (sap.viz) that is available with SAP UI5, except for the geo map representation, which uses the CVOM library.

The following table lists the available representation types:

Chart Name

Constructor

Chart in VIZ Charting Library

Column chart

sap.apf.ui.representations.columnChart

SAP Viz Column (sap.viz.ui5.column)

Line chart

sap.apf.ui.representations.lineChart

SAP Viz Line (sap.viz.ui5.Line)

Scatter plot

sap.apf.ui.representations.scatterPlotChart

SAP Viz Scatter (sap.viz.ui5.Scatter)

Pie chart

sap.apf.ui.representations.pieChart

SAP Viz Pie (sap.viz.ui5.Pie)

Stacked column chart

sap.apf.ui.representations.stackColumnChart

SAP Viz StackedColumn (sap.viz.ui5.StackedColumn)

Percentage stacked column chart

sap.apf.ui.representations.percentageStackedColumn

SAP Viz Percentage Stacked Column (sap.viz.ui5.StackedColumn100)

Geo map

sap.apf.ui.representations.geoMapRepresentation

CVOM choropleth (sap.viz.core.createViz({'type':'viz/choropleth'});)

Table representation

sap.apf.ui.representations.tableRepresentation

SAP Ui5 Table (sap.ui.table.Table)