comparison gnv-artifacts/src/main/java/de/intevation/gnv/chart/TimeSeriesChart.java @ 656:b98d1adee7a6

Added an offset of five percent between values and chart border in vertical profile charts (issue186). gnv-artifacts/trunk@749 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 08 Mar 2010 15:15:08 +0000
parents 83f8f98a4f11
children 79401c871da4
comparison
equal deleted inserted replaced
655:6eccb68a8b99 656:b98d1adee7a6
159 log.debug("next dataset is '" + seriesName + "'"); 159 log.debug("next dataset is '" + seriesName + "'");
160 series = new TimeSeries(seriesName, Minute.class); 160 series = new TimeSeries(seriesName, Minute.class);
161 } 161 }
162 162
163 addValue(row, series); 163 addValue(row, series);
164 storeMaxRange(row.getDouble("YORDINATE"), parameter); 164 storeMaxRange(ranges, row.getDouble("YORDINATE"), parameter);
165 endPos++; 165 endPos++;
166 } 166 }
167 167
168 if (startPos < results.length && endPos-1 < results.length) { 168 if (startPos < results.length && endPos-1 < results.length) {
169 // add the last dataset if existing to plot and prepare its axis 169 // add the last dataset if existing to plot and prepare its axis

http://dive4elements.wald.intevation.org