comparison flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java @ 3632:347096b8cdf6

Fix invalid cast. flys-artifacts/trunk@5335 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 31 Aug 2012 14:42:52 +0000
parents 119b8ba2b77f
children ebfce31c7eec
comparison
equal deleted inserted replaced
3631:2b8e1864213e 3632:347096b8cdf6
310 } 310 }
311 else if (placeh.equals("right")) { 311 else if (placeh.equals("right")) {
312 xPos = getRightX(); 312 xPos = getRightX();
313 } 313 }
314 else if (placeh.equals("center")) { 314 else if (placeh.equals("center")) {
315 xPos = ((Double)getXBounds(0).getUpper() + (Double)getXBounds(0).getLower())/2d; 315 xPos = ((Long)getXBounds(0).getUpper() + (Long)getXBounds(0).getLower())/2d;
316 } 316 }
317 else { 317 else {
318 logger.debug("Unknown place-h value: " + placeh); 318 logger.debug("Unknown place-h value: " + placeh);
319 } 319 }
320 320

http://dive4elements.wald.intevation.org