translate the graph date range