Search found 1 match

by radradish
Sun Jan 18, 2009 6:13 pm
Forum: JFreeChart
Topic: Updating / redrawing a chart from within a Thread - how?
Replies: 2
Views: 5272

Updating / redrawing a chart from within a Thread - how?

Hello I'm trying to add some random data to series (XYseries) and update a chart every desired amount of time from within a thread. Here is my code: Runnable plotUpdater = new Runnable() { public void run() { for (int i = 0; i < 100; i++) { //add some random data without fireing a redraw signal seri...