time series graph for functions