found the answer, the unit value on the x-axis is unnecessary as its an ordinal value. I we just remove it then everything works as expected. So wherever I had uniti: .day in my example. Just remove it from there
uniti: .day