Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java @ 1753:741ba9e34c7d
Apply the attributes 'showpoints' and 'showline'.
flys-artifacts/trunk@3056 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 21 Oct 2011 14:02:07 +0000 |
parents | b7b424ae32a8 |
children | 8e6615ad60b8 |
comparison
equal
deleted
inserted
replaced
1752:b7b424ae32a8 | 1753:741ba9e34c7d |
---|---|
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); | |
131 this.setRotationAngle(o * (Math.PI / 180f)); | 130 this.setRotationAngle(o * (Math.PI / 180f)); |
132 this.setRotationAnchor(TextAnchor.CENTER_LEFT); | 131 this.setRotationAnchor(TextAnchor.CENTER_LEFT); |
133 this.setTextAnchor(TextAnchor.CENTER_LEFT); | 132 this.setTextAnchor(TextAnchor.CENTER_LEFT); |
134 } else { | 133 } else { |
135 this.setRotationAngle(0f * (Math.PI / 180f)); | 134 this.setRotationAngle(0f * (Math.PI / 180f)); |