Skip to Content

Dynamic data in comparison micro chart in Generic Tile in XMLViews


We have lot of examples in SAPUI5 explored but they talk about static data in generic tile in XML views. I decided to write this blog to provide code snippet for loading dynamic data in comparison micro chart in a generic tile for XML Views.

You can bind the data dynamically by using the data property of the comparison micro chart. The code will look like this

The json model should look like this:

The limitation currently for using generic tile with comparison microchart is that you can only compare 3 values in the chart.Remeber to do aggregation on your query that loads the model else your generic tile will be empty

1 Comment
You must be Logged on to comment or reply to a post.