Time in Dynamic Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
lgarcia3
Posts: 43
Joined: Thu Jul 21, 2005 4:00 pm

Time in Dynamic Chart

Post by lgarcia3 » Tue Oct 30, 2007 12:13 pm

In the project we are working on, we use artificial intelligence to predict movements at time + 1. In other words, whatever data we have at 8:00 am will be used to predict what we will have at 9:00 am (people who works with stocks may be very familiar with this). Anyway, we have a dynamic chart displaying the values. How can we add an extra value for time so it is displaying this value at time + 1 hour?
If it is 8:00 am I'd like it to show that value plus 9:00 am with my predicted value. At the end, the plot may look something like this:

Code: Select all

*************
 *************
with one value shifted ahead of the rest predicting the next movement.

Thanks!

Locked