The xaxis in my flot line charts can take an array of data up to but no more than 16 in length. The problem is when my data is less than 16, the x axis is spreading out to show
You can use minTickSize according to the documentation of flot.
minTickSize
minTickSize : [1, "day"],