Focal Point
How to display the word "legend" to the right of a chart

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

August 29, 2006, 11:10 AM
NathanC
How to display the word "legend" to the right of a chart
I need a technique to display the
word "legend" in the graph legend right of the chart.
August 29, 2006, 11:42 AM
Prarie
Try this.

setGroupLabel(0,"Legend");


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
quote:
setGroupLabel(0,"Legend");


I tried the suggestion and it did display the word legend. How would I get it positioned to the right?
Well I'm not a graph expert...and Have used that before and it worked. You can try this before it...and see if it helps. Hopefully someone else will pipe in and help.

setRect(getLegendArea(),new Rectangle(-16000,-15000,32000,9000));


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
Hi Prarie,

Thanks for all the help. I did the following which seems to have worked...

setLegendPosition(2);
setSubtitleString(" Legend");