Forum Discussion
Binding summarized data to piechart
We have the folllowing usecase:
Each API has multiple operations and for each operation we have daily data (total calls, total successful calls, total failure calls).
In a table i am able to display the counts for each API based on the date range filter that the user selects. For example, if user selects jan 1 20201 as start date and jan 31 2021 as end date, i am able to sum up the counts and show for each operation in a table for those dates.
Now the requirement is that when user selects any API, we should be able to display its each operation count in a pie chart.
The pie chart should display the counts of each operation in that API as per the date range selected.
Note: Pie chart should display only selected API's operations count.
Please help.
Sample Data set:
| API Name | Operation Name | Total Calls | Total successes | Total Failures | Date |
| API 1 | Operation 1 | 100 | 50 | 50 | 1/2/2021 |
| API 1 | Operation 1 | 100 | 50 | 50 | 2/2/2021 |
| API 1 | Operation 2 | 200 | 90 | 10 | 1/2/2021 |
| API 1 | Operation 2 | 200 | 90 | 10 | 2/2/2021 |
| API 2 | Operation 1 | 200 | 80 | 20 | 1/2/2021 |
| API 2 | Operation 1 | 200 | 80 | 20 | 2/2/2021 |
| API 2 | Operation 2 | 100 | 70 | 30 | 1/2/2021 |
| API 2 | Operation 2 | 100 | 70 | 30 | 2/2/2021 |
Anonymous , You can pie visual between Operation Name and Total Calls or Total successes or Total Failure.
or do not have a legend and have three values Total Calls ,Total successes and Total Failure
1 Reply
- amitchandak
Super User
Anonymous , You can pie visual between Operation Name and Total Calls or Total successes or Total Failure.
or do not have a legend and have three values Total Calls ,Total successes and Total Failure