Bug fix to allow Date data on x-axis