In JFreeChart, is it possible to embed the legend into the chart itself?
Legend can be set on top, bottom, left, right of the chart as follows, but is it possible to imbed it into the chart?
LegendTitle legend=chart.getLegend();
legend.setPosition(RectangleEdge.TOP);
There is an example of how to set the legend inside the polt are included in the JFreeChart Samples
XYTitleAnnotationDemo1, this is the key part: