ensure that the lines are regenerated when the data points are set