Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/statistics/HorizontalProfileStatistics.java @ 193:34f233123a6f
Adding empty Series into Chart to prevent NPE issue 19
gnv-artifacts/trunk@243 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 19 Oct 2009 12:06:48 +0000 |
parents | 7fb9441dd8af |
children | 3e82b4f1c455 |
line wrap: on
line source
/** * */ package de.intevation.gnv.statistics; import java.sql.SQLException; import de.intevation.gnv.geobackend.base.Result; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class HorizontalProfileStatistics extends TimeseriesStatistics { /** * Constructor */ public HorizontalProfileStatistics() { super(); } @Override protected double calculateXOrdinateValue(Result row) throws SQLException { return row.getDouble("XORDINATE_XCOORD"); } }