Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/statistics/HorizontalProfileStatistics.java @ 253:07650fc6014c
Put a name to each Statistic group which is similar to the name of the
Series in the Charts. issue83
gnv-artifacts/trunk@326 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Thu, 12 Nov 2009 10:15:05 +0000 |
parents | 3e82b4f1c455 |
children | 5403452c06fc |
comparison
equal
deleted
inserted
replaced
252:f1e7ddeef5bc | 253:07650fc6014c |
---|---|
2 * | 2 * |
3 */ | 3 */ |
4 package de.intevation.gnv.statistics; | 4 package de.intevation.gnv.statistics; |
5 | 5 |
6 import java.sql.SQLException; | 6 import java.sql.SQLException; |
7 import java.util.Collection; | |
7 | 8 |
8 import de.intevation.gnv.geobackend.base.Result; | 9 import de.intevation.gnv.geobackend.base.Result; |
10 import de.intevation.gnv.transition.describedata.KeyValueDescibeData; | |
9 | 11 |
10 /** | 12 /** |
11 * @author Tim Englich <tim.englich@intevation.de> | 13 * @author Tim Englich <tim.englich@intevation.de> |
12 * | 14 * |
13 */ | 15 */ |
22 | 24 |
23 @Override | 25 @Override |
24 protected double calculateXOrdinateValue(Result row) throws SQLException { | 26 protected double calculateXOrdinateValue(Result row) throws SQLException { |
25 return 0; // TODO FIXME | 27 return 0; // TODO FIXME |
26 } | 28 } |
29 | |
30 @Override | |
31 protected String generateStatisticsName( | |
32 String break1, | |
33 String break2, | |
34 String break3, | |
35 Collection<KeyValueDescibeData> parameters, | |
36 Collection<KeyValueDescibeData> measurements, | |
37 Collection<KeyValueDescibeData> dates) { | |
38 return (this.findValueTitle(parameters, break1)+ " "+ | |
39 this.findValueTitle(measurements,break2)).trim()+" "+ | |
40 this.findValueTitle(dates,break3); | |
41 } | |
42 | |
27 } | 43 } |