Search found 81 matches
- Mon Feb 02, 2009 2:04 pm
- Forum: JFreeChart
- Topic: IndexOutOfBoundException TimeSeries
- Replies: 1
- Views: 3228
IndexOutOfBoundException TimeSeries
Hello, I get only somethimes!!! the exception at the bottom when the method createDatasetWithExistingSerie is invoked. Does anybody know what I am doing wrong? Thank for your help, private void createDatasetWithExistingSerie(final TracePanelTimeSeries series, final String name, final RegularTimePeri...
- Thu Jan 29, 2009 10:04 am
- Forum: JFreeChart
- Topic: DynamicDataDemo2
- Replies: 5
- Views: 6834
Check the TimeSeries API. You can either set maximum item age with setMaximumItemAge (older will be automatically removed) or maximum item count with setMaximumItemCount . That might help you. Hi, series1.setMaximumItemCount(400); works but series1.setMaximumItemAge((long)xAxis.getLowerBound()); ha...
- Thu Jan 29, 2009 7:37 am
- Forum: JFreeChart
- Topic: DynamicDataDemo2
- Replies: 5
- Views: 6834
- Wed Jan 28, 2009 11:37 am
- Forum: JFreeChart
- Topic: DynamicDataDemo2
- Replies: 5
- Views: 6834
DynamicDataDemo2
Hello, I have a question to the little runnable application at the bottom, So if a button is pressed, than a RegularTimePeriode and a Value is added to the serie. If I press the button for instance 1 million times than than 1 million periods and values are added but only a trickle of the data is sho...
- Thu Jan 22, 2009 3:52 pm
- Forum: JFreeChart
- Topic: DateTick
- Replies: 10
- Views: 11250
- Thu Jan 22, 2009 3:46 pm
- Forum: JFreeChart
- Topic: DateTick
- Replies: 10
- Views: 11250
So, I have found the error, if I set the unit, than all is ok, So I think that the calculation, whether MILLISECOND, SECOND, MINUTE, HOUR, DAY, MONTH, ... should be used, is wrong, So my question is, in with class or better in with java- file the desicion is made? Thanks a lot for your help, All the...
- Thu Jan 22, 2009 1:47 pm
- Forum: JFreeChart
- Topic: DateTick
- Replies: 10
- Views: 11250
It's really crasy for me, I expand the x-axis in one direction and if I do this three- or four times than the DateTick need so much memory than the application goes down, I don't know, what I should do, The problem is in the code at the bottom , but I really don't know what to do. private void creat...
- Thu Jan 22, 2009 7:44 am
- Forum: JFreeChart
- Topic: DateTick
- Replies: 10
- Views: 11250
I don't know. TracePanelTimeSeries is not a JFreeChart class, so I don't know what it does. Morning, thats my TracePanelTimeSeries, but I don't think that class is the problem, public final class TracePanelTimeSeries extends TimeSeries { private String name; private int lineCnt; private XYItemRende...
- Wed Jan 21, 2009 4:42 pm
- Forum: JFreeChart
- Topic: DateTick
- Replies: 10
- Views: 11250
My guess is that you've called setTickUnit() for the DateAxis somewhere in your code, using a tick size that is very small (bearing in mind that the DateAxis measures in milliseconds). That would cause the DateAxis (if the range is longish - say months or years) to create a very large number of tic...
- Wed Jan 21, 2009 7:38 am
- Forum: JFreeChart
- Topic: DateTick
- Replies: 10
- Views: 11250
- Tue Jan 20, 2009 5:07 pm
- Forum: JFreeChart
- Topic: DateTick
- Replies: 10
- Views: 11250
DateTick
Hello, I have a problem with the java heap memory and the class DateTick, respectively. First all TracePanelTimeSeries series are cleared (first code) and than new data is set into the series (second code). My problem now is that if I do this for example the 3. or 4. time, the profiler show me, that...
- Mon Jan 19, 2009 10:57 am
- Forum: JFreeChart
- Topic: shift chart left
- Replies: 1
- Views: 2558
shift chart left
Morning, I have 2 button (one to shift the chart left, and one right), for example if I shift left and the line(s) end than I will open a popup-frame to ask whether data should be reloaded. My question now is, how is the easiest way to recognize the end of the line (data), is there a listener or mus...
- Fri Jan 16, 2009 11:01 am
- Forum: JFreeChart
- Topic: legend -> visible/invisible
- Replies: 4
- Views: 7531
legend -> visible/invisible
Hello, I have a problem with the legend in the JFreechart, so when I zoom into the chart I will 1. reload data from my database 2. series.clear(); (TimeSeries series) so the lines remove from the chart 3. clear the legend -> how can I do this -> if I invoke chart.removeLegend(); than the legend is r...
- Wed Jan 14, 2009 4:23 pm
- Forum: JFreeChart
- Topic: set plot -> DatasetCount() to 0
- Replies: 3
- Views: 5860
set plot -> DatasetCount() to 0
Hi, is it possible to set the plot- DatasetCount() to 0, because I remove all lines from the chart with the methode at the bottom but the plot.getDatasetCount()- amount remains at the amount before, Is there any possibility to do this? Thanks a lot, All the best, public void removeAllLines() { Itera...
- Mon Jan 12, 2009 11:19 am
- Forum: JFreeChart
- Topic: chartChanged invokes twice
- Replies: 2
- Views: 3287
chartChanged invokes twice
Hello, I use the class XYSeriesDemo1 and I added a linstener to the JFreeChart- panel (see at the bottom). I recognized that if I zoom into the JFreechart- panel, the method chartChanged is invoked twice instead of once. My problem is that if somebody zooms into the JFreechart- panel, I load data fr...