Simplified code for graph of contracts time series.