May 02, 2006, 10:03 AM
EJLHaving just started on some graphing work myself, I've found there are a lot of settings that go into determining the final output. Setting one of them with an API often isn't enough to accomplish exactly what you want.
Here are some lines of code that change the pie legend text to 7 points. This is just one way to do it and may not be the best. Of special interest is turning off the automatic layout manager in the first line.
setPlace(false);
setRect(getLegendArea(), new Rectangle(2500, -9500, 18000, 15000));
setFontSizeAbsolute(getLegendText(), true);
setFontSizeInPoints(getLegendText(), 7);
May 02, 2006, 10:20 AM
kalyanswarnaquote:
setPlace(false);
setRect(getLegendArea(), new Rectangle(2500, -9500, 18000, 15000));
setFontSizeAbsolute(getLegendText(), true);
setFontSizeInPoints(getLegendText(), 7);
Hi Thanks alot it's working Fine.
Thanks
Kalyan