Supress Non Trading days other than Sat and Sun on Chart

Discussion about JFreeChart related to stockmarket charts.
Locked
raviagain

Supress Non Trading days other than Sat and Sun on Chart

Post by raviagain » Sat Oct 18, 2003 2:06 pm

Hi,

I have used the method SegmentedTimeline.newMondayThroughFridayTimeline() to supress Saturdays and Sunday dategaps. But the problem now lies with supressing non trading days for which we dont have data and comes between Monday thru Friday can someone help me.

Thanks in advance.

Ravi

kingguppy
Posts: 37
Joined: Mon Apr 07, 2003 9:52 pm
Location: Wuppertal, Germany

Post by kingguppy » Tue Nov 04, 2003 6:51 pm

You can add exceptions to SegmentedTimeline using addException(...). I haven't tried it myself, but this should do what you want.

ravionweb
Posts: 10
Joined: Tue Sep 23, 2003 3:22 pm
Location: India
Contact:

It Works

Post by ravionweb » Thu Jan 01, 2004 4:48 pm

Thanks King your solution above has solved my problem
Ravi

wzwei28
Posts: 105
Joined: Wed Mar 16, 2005 9:17 am
Location: Malaysia, Earth
Contact:

Post by wzwei28 » Fri Jul 21, 2006 11:02 am


Locked