Focal Point
Multi line heading

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

August 09, 2004, 09:27 PM
<kj>
Multi line heading
Is there a way to eliminate truncation when the graph heading is exceeding its width. In other words, can be be displayed in multiple lines, if it doesn't it in one line?

Thanks in advance.

kj
August 19, 2004, 02:37 PM
Larry Eiss
Greetings,

You can hard-code line breaks into Graph Title, Subtitle, and Footnote using "/n". For example, in the GRAPHSTYLE section of your FEX, add code like:

setTitleString("First Line\nSecond Line\nThird Line");
setSubtitleString("First Line\nSecond Line\nThird Line");
setFootnoteString("First Line\nSecond Line\nThird Line");

There are some issues with the way ths works in 5.2.x. We have seen text on subsequent lines overlap the text on the line above in at least some cases.

These issues are fully addressed in Release 5.3, which is scheduled for release at the end of this month.

--WebFOCUS Product Management
August 19, 2004, 02:50 PM
Larry Eiss
Hi,

I forgot to mention one other option that actually might fit your needs better. You can use "setTextWrap(getTitle(),true);" to make the title wrap on its own.

--WebFOCUS Product Management