Focal Point
Graph: Legend need to display in multiply lines

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

June 22, 2012, 02:23 AM
Eswara Rao
Graph: Legend need to display in multiply lines
I have a legend with length 20 charters which I want it to display in multiply lines in Graph
Like “Sales of Car by country” but I want to display
“ Sales of Car
by country ”

This message has been edited. Last edited by: Eswara Rao,


WebFOCUS 7.1
Windows
HTML, PDF,Excel
June 22, 2012, 08:01 AM
Wep5622
I'd like to be told otherwise, but I'm fairly certain that the answer is that it can't be done.

There must be reasons that the GRAPH libraries are being replaced in WebFOCUS 8 (by "Moonbeam charts"). The inflexibility of the current libraries (which appear to be based on Perspective for Java) is probably one of those reasons.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
June 22, 2012, 10:34 AM
susannah
look at the technique used by pferreira in this thread here




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
June 22, 2012, 12:49 PM
dbeagan
Try using \n
wherever your text is.

Here's an example:
 GRAPH FILE CAR
SUM RPM AS 'One fish\nTwo fish\n'
BY COUNTRY 
END 



WebFOCUS 8.2.06
June 22, 2012, 02:05 PM
Eswara Rao
Thank you \n it worked


WebFOCUS 7.1
Windows
HTML, PDF,Excel
June 26, 2012, 09:54 AM
Eswara Rao
'\n' is working in HTML and PDF but in PDF the LegendMarker is not placed properly as in HTML.

In PDF LegendMarker is place next to the second line(Last line) not next to the first line. But if you run in HTML LegendMarker will place next to first line. If anyone has the solutions do please reply.


WebFOCUS 7.1
Windows
HTML, PDF,Excel