I have to display the legend of a time series graph as wrap text in vertical alignment positioned in right of the graph. We are using the following code.
Code: Select all
LegendTitle legend = jfreechart.getLegend();
legend.setPosition(RectangleEdge.RIGHT);
legend.setVerticalAlignment(VerticalAlignment.CENTER);
We want to wrap the legend text like "Non Battery Room" as
Non
Battery
Room.
Please reply if it is possible or not. It is urgent.
Thanks in advance,
Pintu