Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
8722:a83d519155ab | 8723:686d8876edf9 |
---|---|
54 public static boolean MANUALPOINTS(String type) { | 54 public static boolean MANUALPOINTS(String type) { |
55 return type.endsWith("manualpoints"); | 55 return type.endsWith("manualpoints"); |
56 } | 56 } |
57 public static boolean MANUALLINE(String type) { | 57 public static boolean MANUALLINE(String type) { |
58 return type.endsWith("manualline"); | 58 return type.endsWith("manualline"); |
59 } | |
60 public static boolean FILTERED(String type) { | |
61 return type.endsWith("filtered"); | |
59 } | 62 } |
60 public static boolean SQ_CURVE(String type) { | 63 public static boolean SQ_CURVE(String type) { |
61 if (type.equals(SQ_A_CURVE) | 64 if (type.equals(SQ_A_CURVE) |
62 || type.equals(SQ_B_CURVE) | 65 || type.equals(SQ_B_CURVE) |
63 || type.equals(SQ_C_CURVE) | 66 || type.equals(SQ_C_CURVE) |