changeset 4684:f59fbc9bd04a

Fixed out processor to draw sector averages in fix analysis ls.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 17 Dec 2012 15:27:16 +0100
parents 4970c1def388
children ffe273af84fb
files flys-artifacts/src/main/java/de/intevation/flys/exports/process/KMIndexProcessor.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/process/KMIndexProcessor.java	Fri Dec 14 16:03:38 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/process/KMIndexProcessor.java	Mon Dec 17 15:27:16 2012 +0100
@@ -22,7 +22,7 @@
     public void doOut(XYChartGenerator generator, ArtifactAndFacet aandf,
             Document theme, boolean visible, int index) {
         String facettype = aandf.getFacetName();
-         if (facettype.contains(FacetTypes.FIX_SECTOR_AVERAGE_LS)) {
+        if (facettype.contains(FacetTypes.FIX_SECTOR_AVERAGE_LS)) {
             doSectorAverageOut(generator, aandf, theme, visible, index);
         }
         else if (facettype.equals(FacetTypes.FIX_REFERENCE_EVENTS_LS)) {
@@ -40,7 +40,7 @@
             return false;
         }
 
-        if (facettype.equals(FacetTypes.FIX_SECTOR_AVERAGE_LS)
+        if (facettype.contains(FacetTypes.FIX_SECTOR_AVERAGE_LS)
                 || facettype.equals(FacetTypes.FIX_REFERENCE_EVENTS_LS)
                 || facettype.equals(FacetTypes.FIX_ANALYSIS_EVENTS_LS))
         {

http://dive4elements.wald.intevation.org