Flot charts, xaxis minimum length

前端 未结 3 634
傲寒
傲寒 2021-01-26 10:25

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

3条回答
  •  抹茶落季
    2021-01-26 10:41

    You can use minTickSize according to the documentation of flot.

    minTickSize : [1, "day"],
    

提交回复
热议问题