Function to remove entire dataset in linear chart.