M-F 9a-5p Timeseries?
Posted: Mon Apr 26, 2004 3:58 am
Hi - I have price data per minute that I wish to plot. However, I wish to omit weekends and minutes which are not part of the open market time. I've tried
Which causes an exception saying:
Any help? I didn't find a solution in the developer's manual.
Code: Select all
SegmentedTimeline st = SegmentedTimeline.newMondayThroughFridayTimeline();
st.setBaseTimeline(SegmentedTimeline.newFifteenMinuteTimeline());
The opposite, with newMondayThroughFridayTimeline as the baseTimeline for newFifteenMinuteTimeline, seems to be the same as new15mintimeline without any basetimeline.java.lang.IllegalArgumentException: baseTimeline.getSegmentSize() is smaller than segmentSize
at org.jfree.chart.axis.SegmentedTimeline.setBaseTimeline(SegmentedTimeline.java:467)
Any help? I didn't find a solution in the developer's manual.