comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 2391:3c8ae5605a51

Picked rev 4059,4071,4072,4073 from trunk. flys-client/tags/2.6.1@4079 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 17 Feb 2012 11:33:03 +0000
parents 8bbaa0d173cf
children 936e3e6cd9b9
comparison
equal deleted inserted replaced
2390:39955a31f090 2391:3c8ae5605a51
576 576
577 String imgUrl = GWT.getModuleBaseURL(); 577 String imgUrl = GWT.getModuleBaseURL();
578 imgUrl += "chart"; 578 imgUrl += "chart";
579 imgUrl += "?uuid=" + collection.identifier(); 579 imgUrl += "?uuid=" + collection.identifier();
580 imgUrl += "&type=" + mode.getName(); 580 imgUrl += "&type=" + mode.getName();
581 imgUrl += "&server=" + config.getServerUrl();
582 imgUrl += "&locale=" + config.getLocale(); 581 imgUrl += "&locale=" + config.getLocale();
583 imgUrl += "&timestamp=" + new Date().getTime(); 582 imgUrl += "&timestamp=" + new Date().getTime();
584 imgUrl += "&width=" + Integer.toString(width); 583 imgUrl += "&width=" + Integer.toString(width);
585 imgUrl += "&height=" + Integer.toString(height); 584 imgUrl += "&height=" + Integer.toString(height);
586 585
591 // a zoom range of 0-1 means displaying the whole range. In such 590 // a zoom range of 0-1 means displaying the whole range. In such
592 // case we don't need to zoom. 591 // case we don't need to zoom.
593 imgUrl += "&minx=" + zoom[0]; 592 imgUrl += "&minx=" + zoom[0];
594 imgUrl += "&maxx=" + zoom[1]; 593 imgUrl += "&maxx=" + zoom[1];
595 } 594 }
595
596 if (zoom[2].intValue() != 0 || zoom[3].intValue() != 1) { 596 if (zoom[2].intValue() != 0 || zoom[3].intValue() != 1) {
597 // a zoom range of 0-1 means displaying the whole range. In such 597 // a zoom range of 0-1 means displaying the whole range. In such
598 // case we don't need to zoom. 598 // case we don't need to zoom.
599 imgUrl += "&miny=" + zoom[2]; 599 imgUrl += "&miny=" + zoom[2];
600 imgUrl += "&maxy=" + zoom[3]; 600 imgUrl += "&maxy=" + zoom[3];

http://dive4elements.wald.intevation.org