A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
krzyh
- Posts: 6
- Joined: Tue Jun 07, 2005 11:56 pm
Post
by krzyh » Fri Sep 23, 2005 1:13 pm
HI.
I'm using TimeTableXYDataset to do StackedBar chart. My program add data once per minute to 10 series. After 12h of working it takes time to draw chart (only last 2h)
Is ther any option to limit data per series like
Code: Select all
new TimeSeries("aa", Millisecond.class).setMaximumItemCount(MAXIMUM_ITEM_COUNT);
KrzyH
-
Jii
- Posts: 128
- Joined: Thu Apr 21, 2005 11:17 am
Post
by Jii » Fri Sep 23, 2005 1:46 pm
You should just change the draw method in your plot so that it only draws the part of the series that is visible. We did that and the speed increase is very nice.