Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have a service takes infotable as an argument and gets some data in the form of a datashape infotable for a piechart which are just 2 counters "open" and "closed" being displayed on the pie chart.
This is the code for the service for a better understanding:
Hi @AV_10867476 , If you need to call this 'SubService' into 'MainService' for PieChart in the coding level, you can use Me/OtherEntity to select 'Entity' by its name where the 'SubService' was written and you can use it for building the logic for PieChart based on the output of the subservice by storing the infovalues in 1 variable.
If this not helps you can you please explain your scenario in deep.
Thanks & Regards,
Arun C
I currently have a parent service that provides data, the data we can refer to as 'objectData,' presented in the form of an infotable. This infotable contains numerous properties. The intention is to utilize this data in various charts, such as pie charts and bar charts. To facilitate this, I aim to create a mediator service. This mediator service will retrieve 'objectData' from the parent service, allowing me to manipulate the data. Subsequently, I can transmit the modified data back to the other services responsible for populating the charts.
Hi @AV_10867476 ,
Yes the above given scenario can be achievable by calling your "Parent Service" with all feilds & values in your mediater "Data Manipulate Service" with data manipulated for different charts by differentiating it in code level to print the output in required charts.
Thanks & Regards,
Arun C