Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Legend Text is Going Out of Border in PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Legend Text is Going Out of Border in PDF
 Login/Join
 
Gold member
posted
I have attached an Image, i have a Grid and Graph Report in PDF, The Graph hold file is stored in SVG Format.You can see in the image, the Legend Text is long and is going out of Border, i need to contain the same text within the border.
------Code Below------
GRAPH FILE OPENSR
SUM
0_10_DAYS AS ' 0-10 Working Days'
11_20_DAYS AS '11-20 Working Days'
21_30_DAYS AS '21-30 Working Days'
31_40_DAYS AS '31-40 Working Days'
GT_40_DAYS AS '>40 Working Days'
BY MONTH NOPRINT
BY MONTH_DESC AS 'Month'
&SHOWHTML ON GRAPH HOLD AS OPEN_SR_BAR FORMAT HTMTABLE
&HIDEHTML ON GRAPH HOLD AS OPEN_SR_BAR FORMAT SVG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 650
ON GRAPH SET VAXIS 360
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBRSTK1
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 2
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setTransparentBorderColor(getChartBackground(),true);
setBorderColor(getChartBackground(),new Color(192,192,192));
setPlace(true);
setLineWidthAllSeries(2);
setSeriesLineWidthDefault(2);
setBorderColor(getFrame(),new Color(192,192,192));
setShadowColor(getFrame(),new Color(192,192,192));
setBorderColor(getY1ZeroLine(),new Color(192,192,192));
setFillColor(getY1ZeroLine(),new Color(192,192,192));
setBorderColor(getY1AxisLine(),new Color(192,192,192));
setBorderColor(getO1AxisLine(),new Color(192,192,192));
setFillColor(getSeries(0),new Color(70,130,180));
setFillColor(getSeries(1),new Color(205,92,92));
setFillColor(getY1MajorGrid(),new Color(192,192,192));
setLineWidth(getY1MajorGrid(),0);
setDisplay(getReferenceLineY1(0),false);
setFillColor(getO1MajorGrid(),new Color(192,192,192));
setLineWidth(getO1MajorGrid(),1);
setGridStyle(getO1MajorGrid(),3);
setGridStyle(getY1MajorGrid(),0);
setBorderColor(getY1MajorGrid(),new Color(192,192,192));
setFontSizeAbsolute(getTitle(), true);
setFontSizeInPoints(getTitle(), 9);
setPlaceResize(getTitle(), 0);
setDepthRadius(5);
setDisplay(getLegendArea(),true);
setLegendPosition(2);
setFontName(getO1Label(),"San Serif");
setFontSizeAbsolute(getO1Label(), true);
setFontSizeInPoints(getO1Label(), 8);
setTextRotation(getO1Label(),1);
setFontName(getY1Label(),"Calibri");
setFontSizeInPoints(getY1Label(), 8);
setRiserWidth(5);
setFontName(getLegendText(),"Calibri");
setFontSizeAbsolute(getLegendText(), true);
setFontSizeInPoints(getLegendText(), 6);
setPlaceResize(getLegendText(), 0);
setFontName(getY1Label(),"Calibri");
setFontSizeAbsolute(getY1Label(), true);
setFontSizeInPoints(getY1Label(), 8);
setPlaceResize(getY1Label(), 0);
setLegendReverse(true);
setBorderColor(getNestedO1LabelLine(),new Color(255,255,255));
setDataTextPosition(4);
setFontSizeAbsolute(getDataText(0), true);
setFontSizeInPoints(getDataText(0), 7);
setPlaceResize(getDataText(0), 0);
setDataTextDisplay (true);
setStackedDataValueSum(false);


ENDSTYLE
END

This message has been edited. Last edited by: <Kathryn Henning>,


Webfocus 8105,8808,7703,7611, EXL2K,HTML,PDF,COMT,AHTML Info Assist+ , Reportcaster
 
Posts: 64 | Location: Toronto, Ontario | Registered: May 15, 2014Report This Post
<Kathryn Henning>
posted
Hi iBeny,

This post appears to be a duplicate of Graph Legend Going Out Of Bounds, and since there are replies in that topic, we'll work from that one.

Thanks and regards,

Kathryn
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Legend Text is Going Out of Border in PDF

Copyright © 1996-2020 Information Builders