changeset 7246:7ea428c4aca0

Check for inverted setting later. This enables calles to make sure that the master artifact is set.
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 04 Oct 2013 18:35:05 +0200 (2013-10-04)
parents 965dbf2d4c44
children 720c5bbe2a16
files artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java	Fri Oct 04 18:33:44 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/DiagramGenerator.java	Fri Oct 04 18:35:05 2013 +0200
@@ -135,8 +135,6 @@
         super.init(outName, request, out, context);
 
         RiverUtils.setKMFromRequestInContext(request, context);
-
-        setInvertedFromConfig();
     }
 
     private void setInvertedFromConfig() {
@@ -192,6 +190,9 @@
         //debugAxis(plot);
 
         localizeAxes(plot);
+
+        setInvertedFromConfig();
+
         adjustAxes(plot);
         if (!(axis instanceof LogarithmicAxis)) {
             // XXX:

http://dive4elements.wald.intevation.org