changeset 9134:0f7364772dd1

Comment concerning a bug in current manual points editor
author gernotbelger
date Wed, 06 Jun 2018 17:43:34 +0200
parents 8cc192731c7d
children ec1c8d3f3116
files gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ManualPointsEditor.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ManualPointsEditor.java	Wed Jun 06 14:24:51 2018 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ManualPointsEditor.java	Wed Jun 06 17:43:34 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");

http://dive4elements.wald.intevation.org