changed x-axis to dates