Search found 6 matches

by statik213
Thu Jun 02, 2005 11:27 pm
Forum: JFreeChart
Topic: How to make plots run in seperate thread?
Replies: 5
Views: 7412

(Un)fortunately its part of the design of swing that all drawing MUST take place on the event dispatching thread. JFreeChart isn't really designed to do this. As previously stated, the entire chart is redrawn whenever data changes. Most charts that have real time display capabilities only need to r...
by statik213
Thu Jun 02, 2005 8:52 pm
Forum: JFreeChart
Topic: How to make plots run in seperate thread?
Replies: 5
Views: 7412

Well I am doing that something like that, right now data can arrive at varying intervals the default being 125ms. I have two timeseries that I write to, one is bound to the plot and the other is a buffer that I write the readings to as they come in. I don't use a timer as I will be getting readings ...
by statik213
Thu Jun 02, 2005 6:16 pm
Forum: JFreeChart
Topic: How to make plots run in seperate thread?
Replies: 5
Views: 7412

I tried overloading draw and doing the swingworker thing and it failed. It never seemed to be able to completely draw the plot. It drew parts of it but never completely :( See below: private class ThreadedXYPlot extends XYPlot { ThreadedXYPlot(XYDataset dataset, ValueAxis domainAxis, ValueAxis range...
by statik213
Thu Jun 02, 2005 5:49 pm
Forum: JFreeChart
Topic: How to make plots run in seperate thread?
Replies: 5
Views: 7412

How to make plots run in seperate thread?

Hi, I'd like to have my charts run in a seprate thread from the main application. I'm using the JFreeChart to plot realtime data and sometimes the GUI becomes unresponsive whena chart is being redrawn, if the chart could be redrawn in a seprate thread I could give it lower priority and maintian resp...
by statik213
Sat May 28, 2005 12:45 am
Forum: JFreeChart
Topic: How to make the color of the line change as it crosses limit
Replies: 4
Views: 5754

THanks!

That's great!!!
Knew it was something simple like that.... this is a HUGE library... will take a long time before I get the hang of it.

Thanks a lot, appreciate it.
by statik213
Thu May 26, 2005 9:35 pm
Forum: JFreeChart
Topic: How to make the color of the line change as it crosses limit
Replies: 4
Views: 5754

How to make the color of the line change as it crosses limit

Hi, I'm sure this is simple but I still haven't figured out how things relate to each other yet to do this right. Any help would be greatly appreciated. I have a TimeSeries and I'd like the curve to change color when it crosses certain limits. Can I specify a 'smart' Stroke that's sensistive to the ...