Focal Point
Underline rows in a pie chart legend

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

April 16, 2007, 01:16 PM
Jud
Underline rows in a pie chart legend
Hi all:

Is it possible to underline the rows in a graphics (in this case a pie chart)legend? I've found the rectangle command which will enclose the legend in a box but what I want is just horizontal underlines beneath each row of the legend and no border (the aforementioned box) at all.

TIA!
April 17, 2007, 02:57 AM
Tony A
Jud,

Think font and not individual item when you want to add text styling -

setFontStyle(getLegendText(),4);

should do it for you.

T

0 = Plain 4 = Underline
1 = Italic 5 = Italic/Underline
2 = Bold 6 = Bold/Underline
3 = Italic/Bold 7 = Bold/Italic/Underline



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
May 08, 2007, 11:29 AM
Jud
We fixed the issue by writing out our own XML code. Our client needed underline to span all columns within the legend; meaning, underline needed to go from legend left margin to legend right margin without gaps.

Writing out XML as a SVG and then inputing the SVG as an image worked like a charm.

Thank you,

Jud Stone