Search found 3 matches
- Fri Mar 01, 2013 1:06 pm
- Forum: JFreeChart
- Topic: Bug - AutoRange in TimeSeriesChart
- Replies: 13
- Views: 24026
Re: Bug - AutoRange in TimeSeriesChart
I made the following code change to the snippet from my previous post and rebuilt. It fixed the range problem. else if (item.getValue() != null) { double yy = item.getValue().doubleValue(); this.minY = minIgnoreNaN(this.minY, yy); this.maxY = maxIgnoreNaN(this.maxY, yy); }
- Fri Mar 01, 2013 10:28 am
- Forum: JFreeChart
- Topic: Spam in 2013
- Replies: 7
- Views: 12893
Re: Spam in 2013
Yes, it took me several tries to get the answer right. It would be helpful if some hints for the formatting were provided in the question text.
- Fri Mar 01, 2013 10:21 am
- Forum: JFreeChart
- Topic: Bug - AutoRange in TimeSeriesChart
- Replies: 13
- Views: 24026
Re: Bug - AutoRange in TimeSeriesChart
I'm running into a similar issue. I took a quick look through the code, and it seems like there might be a bug in org.jfree.data.time.TimeSeries. In the addOrUpdate() method, the following code is updating the minY and maxY: else if (item.getValue() != null) { double yy = item.getValue().doubleValue...