You have two options. Define your X-axis as type time. Define your X-axis as type categorical.
See also