Put the time range selector variable in cache and use it as a filter to generate the graph on the selected period (as in V3).