diff artifacts/src/main/java/org/dive4elements/river/themes/ThemeDocument.java @ 9325:094ed9d1f2ad

Fixed: change of point style of interpolated data did not change in WQ chart of fixanalysis Fixed: change of point style of interpolated data did not change in dWt chart of fixanalysis; also had duplicate legend entries
author gernotbelger
date Fri, 27 Jul 2018 14:33:41 +0200
parents d9c89651bd67
children ef5754ba5573
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/themes/ThemeDocument.java	Fri Jul 27 14:32:14 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/themes/ThemeDocument.java	Fri Jul 27 14:33:41 2018 +0200
@@ -56,6 +56,8 @@
 
     public final static String SHOW_POINTS = "showpoints";
 
+    public final static String SHOW_POINTS_OUTLINE = "showpointsoutline";
+
     public final static String SHOW_LINE = "showlines";
 
     public final static String SHOW_VERTICAL_LINE = "showverticalline";
@@ -122,8 +124,6 @@
 
     public final static String SHOWEXTRAMARK = "showextramark";
 
-    public final static String USE_FILL_PAINT = "usefillpaint";
-
     /* boolean parameter if the range of this theme should be considered when auto-zooming. Only works for area-series at the moment */
     private static final String CALCULATE_RANGE = "calculateRange";
 
@@ -364,6 +364,11 @@
         return parseBoolean(show, false);
     }
 
+    public boolean parseShowPointsOutline() {
+        String show = getValue(SHOW_POINTS_OUTLINE);
+        return parseBoolean(show, false);
+    }
+
     public boolean parseShowLine() {
         String show = getValue(SHOW_LINE);
         return parseBoolean(show, false);
@@ -484,13 +489,6 @@
         return parseBoolean(show, false);
     }
 
-    public Boolean parseUseFillPaint() {
-        String use = getValue(USE_FILL_PAINT);
-        return use != null
-            ? parseBoolean(use, false)
-            : null;
-    }
-
     public int parseFontSize() {
         String size = getValue(TEXT_SIZE);
         if (size == null) {

http://dive4elements.wald.intevation.org