Show TOC

Combination ChartLocate this document in the navigation structure

Combination charts allow multiple layers of a graph to share the same category, but have their own values and series grouped and drawn in different styles.

A combination chart consist of two components:

  • sap.makit/CombinationChart control

  • sap.makit/Layer element

To create a combination chart, create a CombinationChart control and add multiple Layer elements. The CombinationChart control serves as a container for the combination chart and multiple charts are added by means of 'layers' aggregation: each chart in the CombinationChart is represented by the Layer object. The CombinationChart control contains all the properties, aggregations, events, and methods that are shared by all layers.

Example: The CombinationChart control has a categoryRegions aggregation that is shared by all layers. One of the Layer elements has a type property that only applies to that particular layer.