Hi @Nurain_Nabilah_Salehuddin -

  1. The chart’s render method returns a promise that resolves when the chart has loaded.

  2. You can call the getData method to retrieve the data used on the chart, and check if any documents were returned.