Highchart element retains previous data's visualization, if the new data is null

I am using a filter element to switch between lets say different sub-sets of my data source, the highchart element that is displaying this data (specifically a column type chart), does not reset to the new data, if the new data is null, instead it continues to show the previous data that it had visualized. If I refreshed the app, in that case the visualization ends up looking as intended (i.e.) with no data.

This behavior is only happening when switching from a scenario in which there is data to visualize to another scenario in which the data is null. Any methods to get the intended visualization without having to refresh the app ?

@Mani_Shankar have you defined the series element in the charts configuration?