generate time series chart