jfreechart中的SegmentedTimeline类中的addExceptions(List exceptionList)方法怎么使用呢,为什么我传入参数没用呢?
SegmentedTimeline timeline = new SegmentedTimeline(SegmentedTimeline.DAY_SEGMENT_SIZE, 1, 0);
List list=new ArrayList();
list.add(dateFormat.parse("2007-9-16").getTime());
list.add(dateFormat.parse("2007-9-17").getTime());
list.add(dateFormat.parse("2007-9-18").getTime());
timeline.addExceptions(list);
这样为什么不起作用呢?难道是list.add()中不是这样放数据的吗?请教各位大侠哈^_^……
SegmentedTimeline timeline = new SegmentedTimeline(SegmentedTimeline.DAY_SEGMENT_SIZE, 1, 0);
List list=new ArrayList();
list.add(dateFormat.parse("2007-9-16").getTime());
list.add(dateFormat.parse("2007-9-17").getTime());
list.add(dateFormat.parse("2007-9-18").getTime());
timeline.addExceptions(list);
这样为什么不起作用呢?难道是list.add()中不是这样放数据的吗?请教各位大侠哈^_^……
解决方案 »
- 关于线程池ExecutorService,求助各位高手
- spring中controller截获请求后 怎么能让发送请求的页面不跳转
- 请教 如何触发ajaxtags select的ajax事件
- 各位大师,帮忙解决几个java问题!感激不尽.
- struts上传多文件的问题
- 对hibernate中用ThreadLocal管理Session和Transaction的一点疑问。
- struts分页
- 那位高手可以贴出一个 jsp的 jfreechat的 柱状图
- Java连接oracle乱码问题
- 100:String
- 哪里有Spring MVC的视频下载,兄弟急用!!!
- jquery uploadify 多文件上传没反应
List list=new ArrayList();
list.add(dateFormat.parse("2007-9-14"));
list.add(dateFormat.parse("2007-9-16"));
list.add(dateFormat.parse("2007-9-17"));
list.add(dateFormat.parse("2007-9-18"));
timeline.addExceptions(list);