changeset 2253:707b47d8c554

Dont sort the data series in reference curve. flys-artifacts/trunk@3903 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 03 Feb 2012 14:53:11 +0000
parents 28ba4889a3c1
children ee7e774ed5b4
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java flys-artifacts/src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java
diffstat 3 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Feb 03 13:51:08 2012 +0000
+++ b/flys-artifacts/ChangeLog	Fri Feb 03 14:53:11 2012 +0000
@@ -1,3 +1,11 @@
+2012-02-03	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java:
+	  Set number of interpolation steps for relation curve to 200.
+
+	* src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java:
+	  Do not sort the XYSeries.
+
 2012-02-03  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java	Fri Feb 03 13:51:08 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.java	Fri Feb 03 14:53:11 2012 +0000
@@ -32,7 +32,7 @@
 
     public static final int DEFAULT_Q_STEPS = 500;
 
-    public static final int RELATE_WS_SAMPLES = 150;
+    public static final int RELATE_WS_SAMPLES = 200;
 
     /**
      * A Column in the table, typically representing one measurement session.
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java	Fri Feb 03 13:51:08 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java	Fri Feb 03 14:53:11 2012 +0000
@@ -180,13 +180,14 @@
     ) {
         ApplyFunctionIterator iter = (ApplyFunctionIterator) data;
 
-        XYSeries series = new StyledXYSeries(iter.getWW().getName(), theme);
+        XYSeries series = new StyledXYSeries(
+            iter.getWW().getName(), false, theme);
 
         double [] values = new double[2];
 
         while (iter.hasNext()) {
             iter.next(values);
-            series.add(values[0], values[1]);
+            series.add(values[0], values[1], false);
         }
 
         addAxisSeries(series, YAXIS.W.idx, visible);

http://dive4elements.wald.intevation.org