IntervalMarker « Label « JFreeChart Q&A





1. JFreeChart Vertical Label for IntervalMarker    stackoverflow.com

I would like to rotate the label for the IntervalMarker:

        IntervalMarker im = new IntervalMarker(...);
        im.setLabel("LABEL");
//  ...

2. IntervalMarker with vertical label    jfree.org

org.jfree.chart.annotations.XYTextAnnotation textAnnontation = new org.jfree.chart.annotations.XYTextAnnotation("My Label", x, y ); textAnnontation.setRotationAngle(-Math.PI/2); textAnnontation.setRotationAnchor(org.jfree.ui.TextAnchor.TOP_RIGHT ); textAnnontation.setTextAnchor(org.jfree.ui.TextAnchor.TOP_RIGHT );//TOP_CENTER textAnnontation.setPaint(Color.BLUE); ...

3. IntervalMarker and label    jfree.org