added clear() on line and scatters to reset series