I learned this using the Learning Hub. You can learn more about Learning Hub hereGetting access & accessing SAP Learning Hub #SAPEducation
The SAP Help says “The script is called after all other scripts have been executed”. In my example below the event will be called after I filter the query.
See below for the steps:
In the properties on the right you see the Events “On Result Set”.
The code is shown above. It shows if the result set is empty, the chart is not visible and an alert is displayed.
I execute the application, select a project, and the message appears: “No data available”.
Then the chart is empty:
Here is a video:
Other related example: Design Studio: On Variable Initialization – Learning from Learning Hub
If you are an ASUG member consider registering for the webcast below:
ASUG Annual Conference Sessions regarding Design Studio:
You can learn more about Design Studio, including hands-on experience at this Jump Start ASUG Annual Conference SAPPHIRE with a Pre-Conference Session – Back and Better than Ever