Using FC_NoDataToDisplay Event listener to show an alert when no data is passed to the chart.
To showcase the event, this example deliberately provides blank data i.e., <chart/> to the chart.

 

FusionCharts will load here!

 

 

 

The above sample showcases how to listen to FC_NoDataToDisplay event using JavaScript. Click here to know more on how the code of this example works.