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     add space between Pie graph title and pie chart filler text

Read-Only Read-Only Topic
Go
Search
Notify
Tools
add space between Pie graph title and pie chart filler text
 Login/Join
 
Member
posted
Hello

How do we add space between Pie graph titles and pie lables filler text+Line? Sometimes there is very little space or other times Pie lable tex gets mixed with graph title.


PieFeelerTextDisplay - In case if try you to add Pie Filler Text only still text will merge with title. if u select filler on Pie then it will be clutter on graph and nothing can be seen.

rotating graph does not guarantee that filler text or line will not merge with title when some different selection criteria is selected.


How can we add 1 or 2 lines blank space between pie chart and subtile or reduce length of pie chart lable arrows?

Thanks,


Here is simple code witrh CAR file

GRAPH FILE CAR
PRINT RC AS ''
ACROSS COUNTRY AS 'Derate '
ON GRAPH PCHOLD AS HOLD FORMAT PNG
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET 3D ON
ON GRAPH SET HAXIS 720
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH PIESINGL
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setPieDepth(40);
setPieFeelerTextDisplay(1);
setPlace(true);
setTextString(getTitle(),"PIE TITLE");
setDisplay(getTitle(),true);
setTextString(getSubtitle(),"THIS IS A LONG PIE SUBHEADING TO TEST FILLER T");
setDisplay(getSubtitle(),true);
setTextFormatPreset(getPieSliceLabel(),6);
setMarkerShape(getLegendLabelMarker(0),1);
setLegendTextAutosize(true);
setTextString(getAnnotation(0),"");
setDisplay(getAnnotation(0),false);
setFillColor(getChartBackground(),new Color(255,255,255));
setTransparentBorderColor(getChartBackground(),true);
restoreAllSlices();
setLegendPosition(10);
setPieLabelDisplay(6);
ENDSTYLE
ON GRAPH SET STYLE *
TYPE=DATA, ACROSSCOLUMN=N1, TARGET='_BLANK', $
ENDSTYLE
END
 
Posts: 19 | Location: Allstate Insurance Co. | Registered: January 25, 2005Report This Post
Virtuoso
posted Hide Post
To add a second line in a SubTitle you - you add \n plus the text...I can't seem to make it be a blank.
Change the line to the following and you at least get it to move with a period. I'm sure someone knows how to make it a blank.

setTextString(getSubtitle(),"THIS IS A LONG PIE SUBHEADING TO TEST FILLER T\n .");


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
Thnaks a lot Prarie. THis is a great solution. Smiler
Another approach I took was adding Tilt to Pie.

But adding \n is good option.


Thanks again.
 
Posts: 19 | Location: Allstate Insurance Co. | Registered: January 25, 2005Report This Post
Virtuoso
posted Hide Post
It was a thought...Surely Roll Eyes there is a wayyyy


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Member
posted Hide Post
I haven't found a way yet but this was a nice solution. To get a blank space to appear instead of the period I just double up on \n :

  setTitleString("International RE Portfolio Composition by Country (%) \n \n "); 


For every one line of extra space you want just use \n \n


______________________
WF Version: Prod/Test : WebFOCUS 7.67; ETL 7.67

OP system: WIN2K
 
Posts: 18 | Registered: June 28, 2006Report 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     add space between Pie graph title and pie chart filler text

Copyright © 1996-2020 Information Builders