Using dates in jQuery Flot display

若如初见. 提交于 2019-11-27 22:53:18

You should multiply to 1000 and use:

xaxis: {
      mode: "time"
  }

I tested this way. I can post the full code if you need.

This is a little italian post about using flot to measure my baby's height and weight:

The project code is downloadable from here.

Unzip it and open the file peso_giulia.html . Here you can find the d3 series.

You can replace the line

,[(new Date("2009/12/29")).getTime(),67]

with the timestamp version

,[(1282688250 * 1000), 100]
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!