Focal Point
[SOLVED] Legend Size

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5961053272

February 19, 2008, 12:18 AM
Deepa497
[SOLVED] Legend Size
Hi,

I had used legends in a line graph. It was running perfectly fine. Since yestaerday the size of the legends became small and it i snot coming in proper output. I didn't change anything in the code......

What could be the reason.....

Can anyone help me in this?

Thanks
Deepa

This message has been edited. Last edited by: Kerry,


WebFocus 7.1.4, Windows Server 2005 , HTML/EXL/PDF
February 19, 2008, 08:17 AM
Dgraff
Can't be 100% sure but most loikly causes could be you opened in Graph asistant or Advanced Assistant and it majicly reset to the defaults.

Did you all of a sudden get a larger than expected amount of data causing a spike in the graph that will sometimes cause resizing


Duane

WebFOCUS 8.0.7
DS 8.0.7 AS 8.0.7
Windows
Output: Excel, HTML, PDF, AHTML,Mobile
In Focus 1982
February 20, 2008, 02:02 AM
Deepa497
Hi,
The data is not changing!!!
I adjusted the legend size using following code :

setFontSizeAbsolute(getLegendText(),true);
setFontSize(getLegendText(),10);
setLegendTextAutofit(true);

Size of the legend is increasing but the text in the legend is not coming completely....

If it is 2007 Rate, inthe legend it is coming 20..

Can anyone help me in this?

Thanks
Deepa


WebFocus 7.1.4, Windows Server 2005 , HTML/EXL/PDF
October 14, 2008, 10:20 AM
atturhari
i too face this problem. my legend size became small. Here is the code i use,
setLegendDisplay(true);
setLegendPosition(-1);
setRect(getLegendArea(),new Rectangle(12000,-6440,4444,6600));

can anyone help me out??

thanks
Hari


WF 7.7.02 on Windows 7
Teradata
HTML,PDF,EXCEL,AHTML
October 15, 2008, 03:50 AM
Janakiraman
Hi Atturhari,
Try with this code. It works for me.
setFontSizeAbsolute(getLegendText(), true);
setFontSizeInPoints(getLegendText(), 10);


WF Production Version: WebFOCUS 7.6.1
WF Test Version : WebFOCUS 7.6.4
Operating System : Windows xp
Output format : Excel, PDF, HTML, AHTML, PPT