浏览 1998 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2014-03-09
XYPlot plot = (XYPlot) jfreechart.getPlot(); DateAxis dateaxis = (DateAxis)plot.getDomainAxis(); SimpleDateFormat sfd = new SimpleDateFormat("HH:mm:ss"); dateaxis.setDateFormatOverride(sfd); plot.setDomainAxis(dateaxis); 这是我的时间格式设定代码,然后我不知道TimeSeries timeseries如何添置数据,才可以让时间可以精确到秒。新手菜鸟懂的少,目前看源代码比较困难,求帮助啊,感谢感谢了 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2014-03-13
timeseries.add(new org.jfree.data.time.Second(), xxx);
|
|
返回顶楼 | |
发表时间:2014-03-13
感谢感谢,时间格式正常了
|
|
返回顶楼 | |