This will create a dynamic timeseries chart, given that all possible pens are pre-defined. (legend items for pens not used will be hidden):