Get the correct time slice for the graph.