graph handles different dates