Search found 1 match

by dkrider
Fri Dec 19, 2014 8:55 pm
Forum: JFreeChart
Topic: Multiline XYTextAnnotation
Replies: 8
Views: 15882

Re: Multiline XYTextAnnotation

I messed around with this for a while before I finally came across XYTitleAnnotation. This will place a multi-line annotation in the upper left corner of the plot. TextTitle textTitle = new TextTitle("first line\nsecond line", new Font(Font.SANS_SERIF, Font.PLAIN, 8), Color.BLACK, RectangleEdge.TOP,...