date scoping for graph