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     Problem setting font on Pie Graph with setPlace(true)

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Problem setting font on Pie Graph with setPlace(true)
 Login/Join
 
Member
posted
I have the following setting for my graph styling. For the most part I'm getting what I want. My problem is on a few of the labels the lines are zig zagging or overlaying making it impossible to read. I have setPieFeelerTextDisplay(1) which will put the labels outside the pie, the problem is I also have setPlace(false). In order for the first to work it needs to be true, but when setPlace(true) my font formatting for the labels doesn't work. I've tried a million combinations and thought maybe after looking at my setting it would be obvious that one setting may be contridicting another.

ON GRAPH SET GRAPHSTYLE *
setFillColor(getSeries(0), new Color(172,0,62));
setFillColor(getSeries(1), new Color(84,49,35));
setFillColor(getSeries(2), new Color(218,213,204));
setFillColor(getSeries(3), new Color(114,103,82));
setFillColor(getSeries(4), new Color(228,236,202));
setFillColor(getSeries(5), new Color(220,229,242));
setFillColor(getSeries(6), new Color(247,242,187));
setFillColor(getSeries(7), new Color(200,0,62));
setFillColor(getSeries(8), new Color(105,74,65));
setFillColor(getSeries(9), new Color(199,187,174));
setFillColor(getSeries(10), new Color(123,88,61));
setFillColor(getSeries(11), new Color(183,196,121));
setFillColor(getSeries(12), new Color(182,198,221));
setFillColor(getSeries(13), new Color(255,255,153));
setFillColor(getSeries(14), new Color(228,236,202));
setFontSize(getPieSliceLabel(),14);
setFontStyle(getPieSliceLabel(),2);
setFontSize(getPieLabel(),14);
setFontStyle(getPieLabel(),2);
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(3);
setTitleString("Claim Savings by Category");
setTextJustHoriz(getTitle(),1);
setTitleAutofit(true);
setLegendTextAutofit(true);
setTextFormatPreset(getPieSliceLabel(),2);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(false);
setAutofit(getTitle(),false);
setFontName(getTitle(),"Arial");
setFontName(getPieSliceLabel(),"Arial");
setFontName(getPieLabel(),"Arial");
setFontSize(getTitle(),18);
setFontSizeAbsolute(getTitle(),true);
setFontSizeAbsolute(getPieSliceLabel(),true);
setFontSizeAbsolute(getPieLabel(),true);
setFontStyle(getTitle(),2);
setPlace(false);
ENDSTYLE
 
Posts: 21 | Registered: April 20, 2004Report This Post
Master
posted Hide Post
Leave setPlace(true) and add this code and try

setPlaceResize(getPieSliceLabel(),0);
setFontSizeAbsolute(getPieSliceLabel(),true);
setFontSize(getPieSliceLabel(),8);

Hope this helps,


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Member
posted Hide Post
Actually this didn't work. When I put the setPlaceResize on it changes how the feeler lines react. Without the setPlaceResize on the feeler lines are extended, once I add this the lines revert back to the way they were.

This message has been edited. Last edited by: isjhb,
 
Posts: 21 | Registered: April 20, 2004Report 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     Problem setting font on Pie Graph with setPlace(true)

Copyright © 1996-2020 Information Builders