Skip to Content
0
Jul 06, 2020 at 07:50 AM

Create Multiple Chart Using one Data Service in SAP ui5

104 Views Last edit Jul 06, 2020 at 07:55 AM 3 rev

HI Experts,

I have a Json Data Service Holding data of Multiple Charts, I know how we can consume service for one Chart but not having any idea for use of single service for multiple charts, My JSON Data is like below:

[{"FeedType":"DDF","Failed":"48472","Processed":"35"},{"FeedType":"Sony_Italy","Failed":"0","Processed":"3"},{"FeedType":"Sony_Australia","Failed":"0","Processed":"4"},{"FeedType":"Sony_Brazil","Failed":"0","Processed":"3"},{"FeedType":"Sony_Mexico","Failed":"0","Processed":"3"},{"FeedType":"Sony_Nordic","Failed":"0","Processed":"6"},{"FeedType":"DP","Failed":"0","Processed":"54"},{"FeedType":"Sony_Spain","Failed":"0","Processed":"4"}]

In the above JSON File, Feed type is the different type of Pie charts and Failed/Processed data is the Pie chart state.

If there is any code reference it would be a great help !!!