Hi @Nurain_Nabilah_Salehuddin -
The chart’s render method returns a promise that resolves when the chart has loaded.
You can call the getData method to retrieve the data used on the chart, and check if any documents were returned.