Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

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 NameOperation NameTotal CallsTotal successesTotal FailuresDate
API 1Operation 110050501/2/2021
API 1Operation 110050502/2/2021
API 1Operation 220090101/2/2021
API 1Operation 220090102/2/2021
API 2Operation 120080201/2/2021
API 2Operation 120080202/2/2021
API 2Operation 210070301/2/2021
API 2Operation 210070302/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

  • 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