flot display the date in flot based on timestamp

后端 未结 4 1096
清歌不尽
清歌不尽 2020-12-09 20:54

Does anyone know how to display the date in flot based on timestamp



        
4条回答
  •  爱一瞬间的悲伤
    2020-12-09 21:08

    I use this:

        var options = {
        lines: { show: true },
        points: { show: true },
        xaxis: { mode: "time",  timeformat: "%m/%d/%y",   minTickSize: [1, "day"]}
    };
    

提交回复
热议问题