comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java @ 1752:b7b424ae32a8

Added /dev/null Graphics2D object to be used in the info rendering pass of the diagram generation. flys-artifacts/trunk@3055 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 21 Oct 2011 13:25:24 +0000
parents 27b8836abec9
children 741ba9e34c7d
comparison
equal deleted inserted replaced
1751:27b8836abec9 1752:b7b424ae32a8
125 if (stickyAxis == SimpleAxis.X_AXIS){ 125 if (stickyAxis == SimpleAxis.X_AXIS){
126 float o = 270f; 126 float o = 270f;
127 if(textOrientation.equals("horizontal")) { 127 if(textOrientation.equals("horizontal")) {
128 o = 0f; 128 o = 0f;
129 } 129 }
130 logger.debug("orientation: " + o); 130 //logger.debug("orientation: " + o);
131 this.setRotationAngle(o * (Math.PI / 180f)); 131 this.setRotationAngle(o * (Math.PI / 180f));
132 this.setRotationAnchor(TextAnchor.CENTER_LEFT); 132 this.setRotationAnchor(TextAnchor.CENTER_LEFT);
133 this.setTextAnchor(TextAnchor.CENTER_LEFT); 133 this.setTextAnchor(TextAnchor.CENTER_LEFT);
134 } else { 134 } else {
135 this.setRotationAngle(0f * (Math.PI / 180f)); 135 this.setRotationAngle(0f * (Math.PI / 180f));

http://dive4elements.wald.intevation.org