diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java @ 8723:686d8876edf9

(issue1754) Fix Radius calculation for filtered (smoothed) facets To know the acutal extend of the Domain axis shown we need to know all data in the diagram as the acutal extend is the data point needed to calculate a Radius confusingly configured in zoom-scales we have to add all data first and then add the real filtered facets in a postprocessing step.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 29 Apr 2015 11:56:04 +0200
parents 07c9ac22f611
children 5e38e2924c07
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java	Tue Apr 28 14:22:47 2015 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java	Wed Apr 29 11:56:04 2015 +0200
@@ -57,6 +57,9 @@
         public static boolean MANUALLINE(String type) {
             return type.endsWith("manualline");
         }
+        public static boolean FILTERED(String type) {
+            return type.endsWith("filtered");
+        }
         public static boolean SQ_CURVE(String type) {
             if (type.equals(SQ_A_CURVE)
                 || type.equals(SQ_B_CURVE)

http://dive4elements.wald.intevation.org