[PATCH] Essentially backout rev 8ad0b7bc3e73 as this makes some SQ-relation curves appear buckled

Wald Commits scm-commit at wald.intevation.org
Wed Sep 17 13:12:16 CEST 2014


# HG changeset patch
# User "Tom Gottfried <tom at intevation.de>"
# Date 1410952332 -7200
# Node ID 2f7f9ced46a5d8e5917d3270276ace930888af4f
# Parent  4c1f57839ae95c44919503079a65630c8af81d01
Essentially backout rev 8ad0b7bc3e73 as this makes some SQ-relation curves appear buckled.

diff -r 4c1f57839ae9 -r 2f7f9ced46a5 artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java	Wed Sep 17 13:00:14 2014 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java	Wed Sep 17 13:12:12 2014 +0200
@@ -379,10 +379,7 @@
             isLog().evaluate((D4EArtifact)getMaster(), context);
 
         if (logarithmic) {
-            LogarithmicAxis la = new LogarithmicAxis(label);
-            la.setStrictValuesFlag(false);
-            la.setAllowNegativesFlag(true);
-            return la;
+            return new LogarithmicAxis(label);
         }
         return new NumberAxis(label);
     }


More information about the Dive4Elements-commits mailing list