linear date graph fix