Changed so that the charts are removed when the noData message is displayed.