comparison flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 3205:bbb488b145ce

Set text orientation to horizontal for points in Fixation W/Q curve flys-artifacts/trunk@4822 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Thu, 28 Jun 2012 13:52:12 +0000
parents e815cf20bab2
children abc2db630815
comparison
equal deleted inserted replaced
3204:19ce06eb56c3 3205:bbb488b145ce
902 902
903 if (annotation.atX()) { 903 if (annotation.atX()) {
904 textAnnotation = new CollisionFreeXYTextAnnotation( 904 textAnnotation = new CollisionFreeXYTextAnnotation(
905 annotation.getText(), annotation.getPos(), area.ofGround(TEXT_OFF)); 905 annotation.getText(), annotation.getPos(), area.ofGround(TEXT_OFF));
906 // OPTIMIZE externalize the calculation involving PI. 906 // OPTIMIZE externalize the calculation involving PI.
907 textAnnotation.setRotationAngle(270f*Math.PI/180f); 907 //textAnnotation.setRotationAngle(270f*Math.PI/180f);
908 lineAnnotation = createGroundStickAnnotation( 908 lineAnnotation = createGroundStickAnnotation(
909 area, annotation.getPos(), lineStyle); 909 area, annotation.getPos(), lineStyle);
910 textAnnotation.setRotationAnchor(TextAnchor.CENTER_LEFT); 910 textAnnotation.setRotationAnchor(TextAnchor.CENTER_LEFT);
911 textAnnotation.setTextAnchor(TextAnchor.CENTER_LEFT); 911 textAnnotation.setTextAnchor(TextAnchor.CENTER_LEFT);
912 } 912 }

http://dive4elements.wald.intevation.org