comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java @ 3639:695e8005e199

Default horizontal and vertical logo placement to top/center instead of 'none'. flys-artifacts/trunk@5348 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 03 Sep 2012 13:10:41 +0000
parents b7867c03760a
children a5f65e8983be a65eb6d44122
comparison
equal deleted inserted replaced
3638:6bfcbe391393 3639:695e8005e199
1038 ChartSection cs = chartSettings.getChartSection(); 1038 ChartSection cs = chartSettings.getChartSection();
1039 String place = cs.getLogoHPlacement(); 1039 String place = cs.getLogoHPlacement();
1040 1040
1041 return place; 1041 return place;
1042 } 1042 }
1043 return "none"; 1043 return "center";
1044 } 1044 }
1045 1045
1046 1046
1047 /** Where to place the logo. */ 1047 /** Where to place the logo. */
1048 protected String logoVPlace() { 1048 protected String logoVPlace() {
1051 ChartSection cs = chartSettings.getChartSection(); 1051 ChartSection cs = chartSettings.getChartSection();
1052 String place = cs.getLogoVPlacement(); 1052 String place = cs.getLogoVPlacement();
1053 1053
1054 return place; 1054 return place;
1055 } 1055 }
1056 return "none"; 1056 return "top";
1057 } 1057 }
1058 1058
1059 1059
1060 /** Return the logo id from settings. */ 1060 /** Return the logo id from settings. */
1061 protected String showLogo(ChartSettings chartSettings) { 1061 protected String showLogo(ChartSettings chartSettings) {

http://dive4elements.wald.intevation.org