# HG changeset patch # User Sascha L. Teichmann # Date 1328280791 0 # Node ID 707b47d8c554635d1eb88a8e331238e1bd65c3fe # Parent 28ba4889a3c172521a2b8aa4838439675cc8e394 Dont sort the data series in reference curve. flys-artifacts/trunk@3903 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 28ba4889a3c1 -r 707b47d8c554 flys-artifacts/ChangeLog --- 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 + + * 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 * src/main/java/de/intevation/flys/artifacts/states/ReferenceCurveInputState.java: diff -r 28ba4889a3c1 -r 707b47d8c554 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WstValueTable.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. diff -r 28ba4889a3c1 -r 707b47d8c554 flys-artifacts/src/main/java/de/intevation/flys/exports/ReferenceCurveGenerator.java --- 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);