Search found 2 matches
- Fri Apr 27, 2018 6:13 pm
- Forum: JFreeChart
- Topic: Choosing wich XYDataItem to print
- Replies: 1
- Views: 7158
Choosing wich XYDataItem to print
I have a series with many points wich i collect each 250microseconds, its not possible to get a good performance printing a 10 seconds range with so many points(10 * 1000 / 0.250 = 40000 points) and also not good for visibility, i monitor the zoom to change the series to a series with less data acco...
- Fri Apr 27, 2018 6:06 pm
- Forum: JFreeChart
- Topic: jfreechart changing the dataset and synchronize
- Replies: 1
- Views: 4842
Re: jfreechart changing the dataset and synchronize
Hello dunabur,
For fixing this kind of problem i created two threads one that captures data and put it into a ConcurrentLinkedQueue<> and other thread that runs a little bit more slowly to read the data from this queue and draw it into the screen.
For fixing this kind of problem i created two threads one that captures data and put it into a ConcurrentLinkedQueue<> and other thread that runs a little bit more slowly to read the data from this queue and draw it into the screen.