Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/DischargeCurveGenerator.java @ 2587:bece6f604899
Removed references to Range and replaced those with references to Bounds in ChartGenerators.
flys-artifacts/trunk@4143 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 15 Mar 2012 10:30:03 +0000 |
parents | 1fcaeced48f2 |
children | d75b427da50a |
comparison
equal
deleted
inserted
replaced
2586:8cd6358eb7f8 | 2587:bece6f604899 |
---|---|
22 import de.intevation.flys.artifacts.WINFOArtifact; | 22 import de.intevation.flys.artifacts.WINFOArtifact; |
23 | 23 |
24 import de.intevation.flys.artifacts.model.WQKms; | 24 import de.intevation.flys.artifacts.model.WQKms; |
25 | 25 |
26 import de.intevation.flys.utils.FLYSUtils; | 26 import de.intevation.flys.utils.FLYSUtils; |
27 import de.intevation.flys.jfree.Bounds; | |
27 import de.intevation.flys.jfree.FLYSAnnotation; | 28 import de.intevation.flys.jfree.FLYSAnnotation; |
28 import de.intevation.flys.jfree.StyledXYSeries; | 29 import de.intevation.flys.jfree.StyledXYSeries; |
29 | 30 |
30 | 31 |
31 /** | 32 /** |
113 } | 114 } |
114 | 115 |
115 | 116 |
116 /* TODO is this one really needed? */ | 117 /* TODO is this one really needed? */ |
117 @Override | 118 @Override |
118 protected boolean zoomX(XYPlot plot, ValueAxis axis, Range range, Range x) { | 119 protected boolean zoomX(XYPlot plot, ValueAxis axis, Bounds bounds, Range x) { |
119 boolean zoomin = super.zoom(plot, axis, range, x); | 120 boolean zoomin = super.zoom(plot, axis, bounds, x); |
120 | 121 |
121 if (!zoomin) { | 122 if (!zoomin) { |
122 axis.setLowerBound(0d); | 123 axis.setLowerBound(0d); |
123 } | 124 } |
124 | 125 |