SAC Custom Widget to add beautiful and animated circle progress bar in SAP Analytics Cloud Application
To use this widget in your SAP application, follow these steps:
- Download the
CircleProgressBarWidget.jsonfile from the URLs specified in the webcomponents property of the JSON. - Go to your SAC Portal, select Analytic Application from the left side bar, and then go to the Custom Widget tab.
- Click on the + icon on the right side and select the
CircleProgressBarWidget.jsonfile that you downloaded. - You're done! You can now use it in your app.
The widget has the following methods:
| Method | Parameter Type | Description |
|---|---|---|
| setPercentage(percentage) | integer | Set Percentage |
| setBarColor(barColor) | string | Set Bar Color |
| setEmptyBarColor(emptyBarColor) | string | Set Empty Bar Color |
| Method | Return Type | Description |
|---|---|---|
| getPercentage() | integer | return Percentage |
| getBarColor() | string | return Bar Color |
| getEmptyBarColor() | string | return Empty Bar Color |
This widget is developed by Rohit Chouhan

