diff flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeWQCurveGenerator.java @ 4257:1dfe3e1d304e

Added i18n strings for historical discharge wq chart.
author Ingo Weinzierl <weinzierl.ingo@googlemail.com>
date Thu, 25 Oct 2012 15:00:11 +0200
parents 448cbd8708d5
children 8b4988815974
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeWQCurveGenerator.java	Thu Oct 25 14:02:39 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/HistoricalDischargeWQCurveGenerator.java	Thu Oct 25 15:00:11 2012 +0200
@@ -31,8 +31,6 @@
 
     public static final String I18N_YAXIS_LABEL = "chart.historical.discharge.wq.yaxis.label";
 
-    public static final String I18N_YAXIS_SECOND_LABEL = "chart.historical.discharge.wq.yaxis.second.label";
-
     public static enum YAXIS {
         W(0);
 
@@ -87,9 +85,6 @@
         if (pos == 0) {
             return msg(I18N_YAXIS_LABEL, I18N_YAXIS_LABEL);
         }
-        else if (pos == 1) {
-            return msg(I18N_YAXIS_SECOND_LABEL, I18N_YAXIS_SECOND_LABEL);
-        }
         else {
             return "NO TITLE FOR Y AXIS: " + pos;
         }
@@ -145,8 +140,8 @@
         // addAxisDataset(series, YAXIS.W.idx, visible);
     }
 
-    protected void doHistoricalDischargeCurveOut(FLYSArtifact artifact, Object data,
-        String desc, Document theme, boolean visible) {
+    protected void doHistoricalDischargeCurveOut(FLYSArtifact artifact,
+        Object data, String desc, Document theme, boolean visible) {
         XYSeries series = new StyledXYSeries(desc, theme);
         StyledSeriesBuilder.addPointsQW(series, (WQKms) data);
 

http://dive4elements.wald.intevation.org