[Dive4elements-commits] [PATCH 5 of 6] Handle main values in HistoricalDischargeWQCurveGenerator
Wald Commits
scm-commit at wald.intevation.org
Tue Mar 26 09:34:00 CET 2013
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1364237615 -3600
# Node ID 1efe382d86687f35f06c93e18e425ba20d80511f
# Parent 12766ab27a3642abe98579c343c27f77ec17e846
Handle main values in HistoricalDischargeWQCurveGenerator.
diff -r 12766ab27a36 -r 1efe382d8668 flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeWQCurveGenerator.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeWQCurveGenerator.java Mon Mar 25 19:51:24 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeWQCurveGenerator.java Mon Mar 25 19:53:35 2013 +0100
@@ -10,6 +10,8 @@
import de.intevation.flys.artifacts.model.FacetTypes;
import de.intevation.flys.artifacts.model.Timerange;
import de.intevation.flys.artifacts.model.WQKms;
+
+import de.intevation.flys.jfree.FLYSAnnotation;
import de.intevation.flys.jfree.StyledValueMarker;
import de.intevation.flys.jfree.StyledXYSeries;
import de.intevation.flys.utils.FLYSUtils;
@@ -124,6 +126,14 @@
doPoints(artifactFacet.getData(context), artifactFacet, theme,
visible, YAXIS.W.idx);
}
+ else if (HISTORICAL_DISCHARGE_MAINVALUES_Q.equals(name)) {
+ doAnnotations((FLYSAnnotation)
+ artifactFacet.getData(context), artifactFacet, theme, visible);
+ }
+ else if (HISTORICAL_DISCHARGE_MAINVALUES_W.equals(name)) {
+ doAnnotations((FLYSAnnotation)
+ artifactFacet.getData(context), artifactFacet, theme, visible);
+ }
else {
logger.warn("doOut(): unknown facet name: " + name);
return;
More information about the Dive4elements-commits
mailing list