diff gnv-artifacts/src/main/java/de/intevation/gnv/chart/HorizontalProfileChart.java @ 334:e37930705daa

Changed the way of adding data to charts. Same parameters have one axis - not each parameter its own one. gnv-artifacts/trunk@400 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 07 Dec 2009 17:03:24 +0000
parents 22a6493e8460
children 07a64cfafdf1
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/chart/HorizontalProfileChart.java	Mon Dec 07 10:33:31 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/chart/HorizontalProfileChart.java	Mon Dec 07 17:03:24 2009 +0000
@@ -81,8 +81,8 @@
     }
 
 
-    protected void addSeries(Series series, int idx) {
-        super.addSeries(series, idx);
+    protected void addSeries(Series series, String label, int idx) {
+        super.addSeries(series, label, idx);
 
         // reset values used by current series for next series
         lastPoint = null;

http://dive4elements.wald.intevation.org