comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/chart/ManualPointsEditor.java @ 9134:0f7364772dd1

Comment concerning a bug in current manual points editor
author gernotbelger
date Wed, 06 Jun 2018 17:43:34 +0200
parents 5e38e2924c07
children
comparison
equal deleted inserted replaced
9132:8cc192731c7d 9134:0f7364772dd1
198 if(id.getValue().equals("X")) { 198 if(id.getValue().equals("X")) {
199 StringProperty name = 199 StringProperty name =
200 (StringProperty)pg.getPropertyByName("label"); 200 (StringProperty)pg.getPropertyByName("label");
201 xAxis = name.getValue(); 201 xAxis = name.getValue();
202 } 202 }
203 // FIXME: this always selects the first axis not named 'X' regardless of on what axis the manual points sit.
204 // Actually we do not have the information about the manual points axis
205 // One solution might be to add that axis as extra info into the chart settings: but would be a very special case
203 else if (yAxis.equals("Y")) { 206 else if (yAxis.equals("Y")) {
204 StringProperty name = 207 StringProperty name =
205 (StringProperty)pg.getPropertyByName("label"); 208 (StringProperty)pg.getPropertyByName("label");
206 yAxis = name.getValue(); 209 yAxis = name.getValue();
207 } 210 }

http://dive4elements.wald.intevation.org