How to show past data on click of button

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
anilp2
Posts: 3
Joined: Tue Dec 14, 2004 8:07 am

How to show past data on click of button

Post by anilp2 » Tue Jan 18, 2005 5:16 am

hi
I have timeseries chart. showing trend. I show 24 hrs data which is generated every second. at a time I show 10 sec of data on chart. chart has scrolling effect as I am adding data every second.
I could not figure out how to show

1. first 10 sec data when trend started, chart should not stop scrolling it should show next data

2. previous 10 sec data , chart should not stop scrolling it should show next data


3. next 10 sec data if it its showing previous data, chart should not stop scrolling it should show next data


4. last 10 sec data if it its showing previous or next data, chart should not stop scrolling it should show current data


basicaly I want to achive panning functionality


any body knows :idea: the solution for it pls help me :roll: .


Anil

Locked