Mercurial > dive4elements > river
changeset 7038:59e477500a50 generator-refactoring
Use combine instead of combineignoringNaN (for compatibility)
The ignoring NaN part was not actually necessary but just
used for safety. combineIgnoringNaN is availbale only in
jfreechart >=1.0.15
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 18 Sep 2013 15:44:49 +0200 |
parents | 5c6fd2c010dd |
children | d9fda41b4ec4 |
files | artifacts/src/main/java/org/dive4elements/river/jfree/AxisDataset.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/jfree/AxisDataset.java Wed Sep 18 15:04:26 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/jfree/AxisDataset.java Wed Sep 18 15:44:49 2013 +0200 @@ -88,7 +88,7 @@ if (range == null) { range = newRange; } else { - range = Range.combineIgnoringNaN(range, newRange); + range = Range.combine(range, newRange); } } rangeDirty = false;