# HG changeset patch
# User gernotbelger
# Date 1528386585 -7200
# Node ID 38e68e72cfb8315630b6c384d2d5e7117d51061f
# Parent ec1c8d3f311642528babd0f8a60ed2e81519a495# Parent af73fdd96920b0b63b840516e54753da43667837
Zusammenführen
diff -r af73fdd96920 -r 38e68e72cfb8 artifacts/doc/conf/artifacts/manualpoints.xml
--- a/artifacts/doc/conf/artifacts/manualpoints.xml Thu Jun 07 11:41:10 2018 +0200
+++ b/artifacts/doc/conf/artifacts/manualpoints.xml Thu Jun 07 17:49:45 2018 +0200
@@ -35,6 +35,12 @@
+
+
+
+
+
+
diff -r af73fdd96920 -r 38e68e72cfb8 artifacts/doc/conf/artifacts/sinfo.xml
--- a/artifacts/doc/conf/artifacts/sinfo.xml Thu Jun 07 11:41:10 2018 +0200
+++ b/artifacts/doc/conf/artifacts/sinfo.xml Thu Jun 07 17:49:45 2018 +0200
@@ -69,6 +69,8 @@
+
+
@@ -120,6 +122,8 @@
+
+
@@ -187,6 +191,8 @@
+
+
@@ -196,6 +202,8 @@
+
+
@@ -214,9 +222,6 @@
-
-
-
@@ -248,8 +253,6 @@
-
-
@@ -258,7 +261,6 @@
-
@@ -271,13 +273,11 @@
-
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
-
@@ -342,7 +340,6 @@
-
@@ -361,14 +358,11 @@
-
-
-
+
-
+
-
+
-
-
+
+
-
+
-
+
-
-
-
-
-
-
-
-
@@ -444,6 +431,8 @@
+
+
diff -r af73fdd96920 -r 38e68e72cfb8 artifacts/doc/conf/generators/longitudinal-diagrams.xml
--- a/artifacts/doc/conf/generators/longitudinal-diagrams.xml Thu Jun 07 11:41:10 2018 +0200
+++ b/artifacts/doc/conf/generators/longitudinal-diagrams.xml Thu Jun 07 17:49:45 2018 +0200
@@ -95,7 +95,7 @@
&longitudinal-defaults;
+ axis="flowdepthAxis"/>
@@ -108,7 +108,7 @@
&longitudinal-defaults;
+ axis="flowdepthAxis"/>
@@ -121,7 +121,7 @@
&longitudinal-defaults;
+ axis="tkhAxis"/>
@@ -134,7 +134,7 @@
&longitudinal-defaults;
+ axis="flowdepthDevelopmentAxis"/>
@@ -147,7 +147,7 @@
&longitudinal-defaults;
+ axis="flowdepthDevelopmentPerYearAxis"/>
diff -r af73fdd96920 -r 38e68e72cfb8 artifacts/doc/conf/themes.xml
--- a/artifacts/doc/conf/themes.xml Thu Jun 07 11:41:10 2018 +0200
+++ b/artifacts/doc/conf/themes.xml Thu Jun 07 17:49:45 2018 +0200
@@ -450,5 +450,11 @@
+
+
+
+
+
+
\ No newline at end of file
diff -r af73fdd96920 -r 38e68e72cfb8 artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java Thu Jun 07 11:41:10 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java Thu Jun 07 17:49:45 2018 +0200
@@ -153,7 +153,7 @@
return false;
}
- };
+ }
/** Available diagram/chart-types. This enum is evaluated at certain
* places to iterate over chart-types to e.g. dynamically generate
@@ -188,9 +188,14 @@
SQE("sq_relation_e"),
SQF("sq_relation_f"),
HD("historical_discharge"),
- HDWQ("historical_discharge_wq");
- // FIXME: do we need this? and why?
- // SFD("sinfo_flow_depth");
+ HDWQ("historical_discharge_wq"),
+ SFD("sinfo_flow_depth"),
+ SFDMM("sinfo_flow_depth_minmax"),
+ SFDD("sinfo_flow_depth_development"),
+ SFDDPY("sinfo_flow_depth_development_peryear"),
+ SC("sinfo_collision"),
+ SFDUR("sinfo_flood_duration"),
+ STKH("sinfo_tkk");
private String chartTypeString;
diff -r af73fdd96920 -r 38e68e72cfb8 gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ManualPointsEditor.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ManualPointsEditor.java Thu Jun 07 11:41:10 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ManualPointsEditor.java Thu Jun 07 17:49:45 2018 +0200
@@ -200,6 +200,9 @@
(StringProperty)pg.getPropertyByName("label");
xAxis = name.getValue();
}
+ // FIXME: this always selects the first axis not named 'X' regardless of on what axis the manual points sit.
+ // Actually we do not have the information about the manual points axis
+ // One solution might be to add that axis as extra info into the chart settings: but would be a very special case
else if (yAxis.equals("Y")) {
StringProperty name =
(StringProperty)pg.getPropertyByName("label");