Page 1 of 1

trend line showing future values

Posted: Tue Aug 03, 2010 11:17 am
by pbhimellu
Hello,
I am very new to JFreeChart and JStock so perhaps the quesry I have is a silly one:

I am currently updating JStock to display trend lines in its dyanamic viewer.I can draw a line between two points using TimeSeriesCollection but I want this line to be drawn beyond the specified two point so that furure trend is visible.

Is this possible? Is here some other option otherwise?


Best regards,
Pradeep

Re: trend line showing future values

Posted: Wed Aug 04, 2010 10:25 am
by ptd26
There's a regression function in one of the utility classes, I haven't played around with it yet though.