[Schmitzm-commits] r720 - trunk/src/schmitzm/jfree/feature/style

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Feb 25 15:26:03 CET 2010


Author: alfonx
Date: 2010-02-25 15:26:02 +0100 (Thu, 25 Feb 2010)
New Revision: 720

Modified:
   trunk/src/schmitzm/jfree/feature/style/FeatureChartStyle.java
Log:
Commented on SUM_ABS

Modified: trunk/src/schmitzm/jfree/feature/style/FeatureChartStyle.java
===================================================================
--- trunk/src/schmitzm/jfree/feature/style/FeatureChartStyle.java	2010-02-25 12:27:29 UTC (rev 719)
+++ trunk/src/schmitzm/jfree/feature/style/FeatureChartStyle.java	2010-02-25 14:26:02 UTC (rev 720)
@@ -100,12 +100,12 @@
         case AVG: return statistics.mean();
         case MAX: return statistics.max();
         case MIN: return statistics.min();
+//        case SUM_ABS: // SK: Man müsste beim "packen der daten in die Statistik" schon abs() auf die werte anwenden und dann diese zeile einkommentieren 
         case SUM: return statistics.sum();
         case COUNT: return ((Integer)statistics.size()).doubleValue();
         case STND_DEV: return statistics.standardDeviation();
         case VARIANCE: return Math.pow(statistics.standardDeviation(),2);
-//        case SUM_ABS: return ??;
-//        case MEDIAN: return ??;
+        case MEDIAN: return statistics.mean();
       }
       throw new UnsupportedOperationException("Aggregation function not yet supported: "+this);
     }



More information about the Schmitzm-commits mailing list