April 16, 2007, 01:16 PM
JudUnderline 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 AJud,
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
May 08, 2007, 11:29 AM
JudWe 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