I solved it thanks!
Basically I set the initial range with auto-range off, and then added a ChartChangeListener which compared the time of the latest value added with the time of the first value. When this time exceeded the range FixedAutoRange was turned on with the current range of the graph.
Search found 4 matches
- Fri Apr 11, 2008 7:37 pm
- Forum: JFreeChart
- Topic: Dynamic TimeSeries Plotting - Left to Right
- Replies: 7
- Views: 10710
- Sat Mar 08, 2008 10:46 pm
- Forum: JFreeChart
- Topic: Dynamic TimeSeries Plotting - Left to Right
- Replies: 7
- Views: 10710
Dynamic TimeSeries Plotting - Left to Right
I am working on a dynamic data application using JFreeChart and I am having some issues getting the plot to display how I want it. The chart should be plotting data initially from left to right, but when it initially begins to plot data, the data displays from the right moving to the left. I believe...
- Fri Feb 15, 2008 11:37 pm
- Forum: JFreeChart
- Topic: AutoRange and Zoom
- Replies: 17
- Views: 34678
- Fri Feb 15, 2008 5:00 pm
- Forum: JFreeChart
- Topic: SWT and ChartProgressListener Events
- Replies: 1
- Views: 3303
SWT and ChartProgressListener Events
I'm trying to listen to ChartProgressEvents in order to update a label with the crosshair value on a graph, but it seems that the event is not registering in SWT. Is there a proper way to handle events in swt that is different from awt? Thanks!