diff flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java @ 3119:238803b2cb8b

Create a compound index for SQOutlierFacets based on result index and iteration number. flys-artifacts/trunk@4720 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 20 Jun 2012 11:04:24 +0000
parents 5482a8a48a3f
children e52a3b62fc20
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java	Wed Jun 20 10:56:08 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java	Wed Jun 20 11:04:24 2012 +0000
@@ -139,11 +139,21 @@
         XYSeries series = JFreeUtil.sampleFunction2D(
             func.getFunction(),
             attr,
-            "SQ Curve",
+            f.getDescription(),
             10,
             func.getMinQ(),
             func.getMaxQ());
 
+        if (logger.isDebugEnabled()) {
+            logger.debug("Series '" + f.getDescription() + "' has "
+                + series.getItemCount() + " items.");
+
+            logger.debug("   -> min x = " + series.getMinX());
+            logger.debug("   -> max x = " + series.getMaxX());
+            logger.debug("   -> min y = " + series.getMinY());
+            logger.debug("   -> max y = " + series.getMaxY());
+        }
+
         addAxisSeries(series, YAXIS.S.idx, visible);
     }
 
@@ -163,6 +173,16 @@
             series.add(sq.getQ(), sq.getS());
         }
 
+        if (logger.isDebugEnabled()) {
+            logger.debug("Series '" + f.getDescription() + "' has "
+                + series.getItemCount() + " items.");
+
+            logger.debug("   -> min x = " + series.getMinX());
+            logger.debug("   -> max x = " + series.getMaxX());
+            logger.debug("   -> min y = " + series.getMinY());
+            logger.debug("   -> max y = " + series.getMaxY());
+        }
+
         addAxisSeries(series, YAXIS.S.idx, visible);
     }
 }

http://dive4elements.wald.intevation.org