Weekly chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Ravi Teja

Weekly chart

Post by Ravi Teja » Wed Feb 19, 2003 10:14 am

Hi David,

I'm currently using JFreeChart release 8.1.


i'm trying to generate a stock charts(Time Series).

i would want to generate a Weekly chart where each day must be a intraday chart.

do we have to facility to do that in the version i'm currently using.

expecting some suggestions from u.

thanks in advance

regards
RaviTeja

David Gilbert

Re: Weekly chart

Post by David Gilbert » Wed Feb 19, 2003 1:15 pm

Hi RaviTeja,

You can do it, but the problem you will find (in all versions of JFreeChart) is that the date axis shows a continuous time line, so there will be gaps in your chart because there is no data outside trading hours. Someone posted some axis code a while back to skip Saturday and Sunday for daily stock charts...you might want to search the forum for that and try to modify it for intra-day charts.

At some point, I will put some time into developing a 'segmented' date axis that handles both the daily (monday to friday) and intra-day trading cases. It's a fairly high priority item, but not currently the highest.

Regards,

Dave Gilbert

Locked