Fixed date graph issue