Class 

sap.viz.*


About

The complex charts folder includes all the charts from the SAPUI5 viz library. The solution has decoupled the visual graph from the data so that it is easy to change different chart types with the same data model.  


Use

Use the chart controllers in the complex folder to change layout and appearance in the attribute tab. Add a FlattenedDataset with Dimensions and Measures under the chart element for a very flexible data binding.


Example Dual Stacked Column Chart with two dimensions 


              



Example Column Chart with three measures 



               




Attributes on the Chart Controller



Binding on the general tab of the FlattenedDataset



Attributes and binding on the Dimensions



Binding and attributes of the Measures (Note the group property for grouping Measures)




Tip: If your chart will not be displayed in your Application, try the method rerender - ObjectName.rerender();


Reference


API


Testsuite