Search found 13 matches

by Junaid
Fri Aug 20, 2010 11:32 am
Forum: JFreeChart - Stockmarket
Topic: intraday chart SegmentedTimeLine pb.
Replies: 7
Views: 27070

Re: intraday chart SegmentedTimeLine pb.

Hi Skunk, I am trying to create a timeline using 2 segmentedtimelines. The first segmentedtimeline will remove gaps for holidays, and the second timeline, which uses the first segmentedtimeline (the one that has removed holiday gaps) as the base timeline, will remove intraday hourly gaps. Please fin...
by Junaid
Sun Aug 15, 2010 8:48 am
Forum: JFreeChart - Stockmarket
Topic: Intra-Day Gap Removals Using SegmentedTimeline
Replies: 1
Views: 10966

Re: Intra-Day Gap Removals Using SegmentedTimeline

Hi guys, I am trying to combine 2 segmentedtimeline for removal of intra-day gap. The first segmentedtimeline removes the holidays and second segmentedtimeline is to remove the intra-day gaps. I am using version 1.0.13. I have taken a data of 1 week. When trying to remove the 4 days, which are holid...
by Junaid
Tue Aug 03, 2010 10:50 am
Forum: JFreeChart - Stockmarket
Topic: Intra-Day Gap Removals Using SegmentedTimeline
Replies: 1
Views: 10966

Intra-Day Gap Removals Using SegmentedTimeline

I am facing an issue in JFreeChart while trying to remove the gaps from TimeLine. There are following 2 things that I am trying to achieve: 1). Remove the days from timeline which are Saturday/Sunday or holidays 2). Remove the intra-day gaps for shifts, from the timeline. There are 3 shifts in any w...
by Junaid
Tue Aug 03, 2010 7:05 am
Forum: JFreeChart
Topic: JFreeChart 1.0.13
Replies: 34
Views: 71614

Re: JFreeChart 1.0.13

Hi David, We have been using JFreeChart in our product and it has been a nice experience using it. We have recently made an upgrade to ver 1.0.13. I am facing some issues while removing the gaps from timeline. I am using segmentedTimeLine for gap removal. I have posted the query on the general forum...
by Junaid
Mon Aug 02, 2010 3:56 pm
Forum: JFreeChart - Stockmarket
Topic: intraday chart SegmentedTimeLine pb.
Replies: 7
Views: 27070

Re: intraday chart SegmentedTimeLine pb.

I am facing an issue in JFreeChart while trying to remove the gaps from TimeLine. There are following 2 things that I am trying to achieve: 1). Remove the days from timeline which are Saturday/Sunday or holidays 2). Remove the intra-day gaps for shifts, from the timeline. There are 3 shifts in any w...
by Junaid
Mon Aug 02, 2010 9:41 am
Forum: JFreeChart - Stockmarket
Topic: Infinite loop problem in SegmentedTimeline's addBaseTimeline
Replies: 2
Views: 13277

Re: Infinite loop problem in SegmentedTimeline's addBaseTimeline

Thanks skunk for your reply. The issue at http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=26926 is different. My problem was due to programming error. In the source code of SegmentedTimeLine in 1.0.13, given below public void addBaseTimelineException(long domainValue) { Segment baseSegment = this.ba...
by Junaid
Fri Jul 30, 2010 6:02 am
Forum: JFreeChart - Stockmarket
Topic: intraday chart SegmentedTimeLine pb.
Replies: 7
Views: 27070

Re: intraday chart SegmentedTimeLine pb.

Hi,

Sorry guys the solution that I posted yesterday seems to be incorrect when tested for some of the scenarios. Please ignore it, and let me know if you can point out the bug to me in the last code.

Rgds,
Junaid
by Junaid
Thu Jul 29, 2010 1:54 pm
Forum: JFreeChart - Stockmarket
Topic: intraday chart SegmentedTimeLine pb.
Replies: 7
Views: 27070

Re: intraday chart SegmentedTimeLine pb.

Hi guys, I have got the bug. For anyone who may be having the same issue please see below. The initial code that I had posted has the following line, which is incorrect oneHourSegTimeLine = new SegmentedTimeline(SegmentedTimeline.HOUR_SEGMENT_SIZE, 16 , 8 ); It should be instead as below oneHourSegT...
by Junaid
Thu Jul 29, 2010 1:43 pm
Forum: JFreeChart - Stockmarket
Topic: intraday chart SegmentedTimeLine pb.
Replies: 7
Views: 27070

Re: intraday chart SegmentedTimeLine pb.

Hi skunk, Thanks for the solution. It works fine for removal of holidays. However I am facing an issue when I am trying to remove the intra-day gaps ( which are in hours) from working days. As a background to new viewers, I am trying to combine 2 segmented timelines to form a compounded segmented ti...
by Junaid
Mon Jul 26, 2010 2:36 pm
Forum: JFreeChart - Stockmarket
Topic: Infinite loop problem in SegmentedTimeline's addBaseTimeline
Replies: 2
Views: 13277

Infinite loop problem in SegmentedTimeline's addBaseTimeline

Hi, I am using JFreeChart version 1.0.13. I am trying to combine two segmented timelines, as shown in the code below: SegmentedTimeline baseTimeLine = new SegmentedTimeline(SegmentedTimeline.DAY_SEGMENT_SIZE, 5, 2); baseTimeLine.setStartTime(startTime); SegmentedTimeline twentyFourHourSegTimeline = ...
by Junaid
Mon Jul 26, 2010 2:16 pm
Forum: JFreeChart - Stockmarket
Topic: intraday chart SegmentedTimeLine pb.
Replies: 7
Views: 27070

Re: intraday chart SegmentedTimeLine pb.

Hi, I am also facing the similar issue. I am trying to combine 2 segmented time lines to implement an intra-day timeline that can remove some of the hours during a day and also can remove the holiday days. First I have implemented a segmented time line that removes the holiday days, denote SegTimeLi...
by Junaid
Mon Jul 26, 2010 1:56 pm
Forum: JFreeChart
Topic: SegmentedTimeline.addException results in X-axis overlap
Replies: 5
Views: 7412

Re: SegmentedTimeline.addException results in X-axis overlap

Hi,

Thanks matinh, for your reply. We have upgraded to 1.0.13.
The overlapping issue is resolved with the upgrade.

Regards,
Junaid
by Junaid
Thu Jul 22, 2010 9:22 am
Forum: JFreeChart
Topic: SegmentedTimeline.addException results in X-axis overlap
Replies: 5
Views: 7412

Re: SegmentedTimeline.addException results in X-axis overlap

Hi, I am using a segmentedTimeLine to eliminate the holidays/days not required. But I am facing an issue of dates/time overlapping. The solution suggested by skunk is not working for JFreeChart version 1.0.6. Is there a way to get rid of overlapping in version 1.0.6.? Further I would like to know if...