I have been trying to avoid weekends and holidays from SegmentedTimeline.newFifteenMinuteTimeline(). but its not working.
and looks like there are some performance issues as well.
can any one suggest me to avoid weekends on intraday time line or use some alternative ??
any alternative to segmentedTimeline
Re: any alternative to segmentedTimeline
Code: Select all
timeline.addException(...)
timeline.addBaseTimelineException(...)
Re: any alternative to segmentedTimeline
i am using basetimeline as mondaythroughFriday.. then it should exclude weekends i think.
but it does not.
one more question. can you give me example of excluding every weekend ?
but it does not.
one more question. can you give me example of excluding every weekend ?
Re: any alternative to segmentedTimeline
It is kind of weird, I think for it to actually work you have to call addBaseTimelineExclusions after setting the base timeline.
For performance, maybe this will help
http://www.jfree.org/phpBB2/viewtopic.p ... 25&p=79506
For performance, maybe this will help
http://www.jfree.org/phpBB2/viewtopic.p ... 25&p=79506