
The dual axis feature for combination charts allows to define one or more layers to be scaled and drawn based on a secondary value axis. This secondary value axis is usually positioned on the right hand side of the chart or, in case of a bar chart, at the bottom.
To use the dual axis feature, set the drawOnSecondaryAxis property of the Layer element to true. In the following example the layer is set to be scaled and drawn on the secondary axis:
var layerObj1 = new sap.makit.Layer({
type : "Column",
drawOnSecondaryAxis: true
});
Or:
layerObj1.setDrawOnSecondaryAxis(true);
The secondaryValueAxis property (type: ValueAxis) can be modified to alter the properties of the secondary value axis.