Problem with CombinedDomainXYPlot and SegmentedTimeline

Discussion about JFreeChart related to stockmarket charts.
Locked
Celso
Posts: 10
Joined: Mon Feb 16, 2009 6:39 pm

Problem with CombinedDomainXYPlot and SegmentedTimeline

Post by Celso » Mon Feb 16, 2009 7:05 pm

Hi folks,

I have a problem with this combination (SegmentedTimeline.newMondayThroughFridayTimeline() and CombinedDomainXYPlot).

At the beginning I was using just XYPlot and it works perfectly, but now I changed to CombinedDomainXYPlot and my system became frozen!

I don´t know what happened, because it doesn´t threw any exception.

Has anyone had the same problem with this two resources together?

Thanks a lot,
Celso

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Mon Feb 16, 2009 7:24 pm

Works fine here

Celso
Posts: 10
Joined: Mon Feb 16, 2009 6:39 pm

Post by Celso » Mon Feb 16, 2009 7:31 pm

Hi skunk,

can you post your code creating CombinedDomainXYPlot?
how many bars you use to shown your charts?

Thanks,
Celso

Celso
Posts: 10
Joined: Mon Feb 16, 2009 6:39 pm

Post by Celso » Tue Feb 17, 2009 1:47 am

The problem is when you use so much data...

Catch the example of RoyW at:
http://www.jfree.org/phpBB2/viewtopic.php?t=25016

and change this line:

Code: Select all

String strUrl= "http://ichart.finance.yahoo.com/table.csv?s="+symbol+"&a=2&b=1&c=2005&d=6&e=22&f=2005&ignore=.csv";
for this one (f=2006):

Code: Select all

String strUrl= "http://ichart.finance.yahoo.com/table.csv?s="+symbol+"&a=2&b=1&c=2005&d=6&e=22&f=2006&ignore=.csv";
could anyone help me?

Thanks,
Celso

skunk
Posts: 1087
Joined: Thu Jun 02, 2005 10:14 pm
Location: Brisbane, Australia

Post by skunk » Sun Feb 22, 2009 9:01 pm

Hmmm

I wonder if you are running into this bug
http://www.jfree.org/phpBB2/viewtopic.p ... 588be85676

Celso
Posts: 10
Joined: Mon Feb 16, 2009 6:39 pm

Re: Problem with CombinedDomainXYPlot and SegmentedTimeline

Post by Celso » Fri Feb 27, 2009 12:21 am

thank you skunk, it´s exactly that happens with me.....

Locked