Hello,
We have created a Bar + Line chart custom widget using Chart.js in SAP Analytics Cloud (Optimized Story Experience).
We want to display the SAC busy indicator whenever the user interacts with the custom widget (for example, on data refresh, filter change, or other interactions).
As per the Custom Widget Developer Guide, custom widgets support viewport loading in the optimized story experience by enabling the following property in the widget JSON:
"supportsViewportLoading": trueWe have enabled this property in our widget JSON. However, when interacting with the widget in view mode, the busy indicator is not shown.
Is enabling "supportsViewportLoading": true alone sufficient to trigger the busy indicator?
Do we also need to explicitly fire the customWidgetRenderComplete event, and if so, when exactly should it be fired (after DOM render, after data binding, or after Chart.js rendering)?
Are there any working examples or reference implementations for using viewport loading with custom widgets
If viewport loading does not trigger the busy indicator for interactions, is there any recommended workaround to show a busy indicator for custom widgets?
Any guidance or examples would be greatly appreciated.
SAP Analytics Cloud #customwidget #SAC #Chart.js #
#Optimized Story Experience #JavaScript
@Meet_Patel10 @dishantp40 @Chandra_Bhansali
Request clarification before answering.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.