Insert arbitrary text to the rangeAxis
Posted: Mon Nov 09, 2009 8:24 pm
I know we can add Annotations to a Plot, for example:
Is there any way to insert arbitrary text to the rangeAxis like this (the orange, blue and green labels)?
Code: Select all
XYTextAnnotation textAnnotation = new XYTextAnnotation ( "Any Text", x, y);
textAnnotation.setRotationAngle (-Math.PI / 2);
plot.addAnnotation (textAnnotation);