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     Setting the Font Size of a Pie Label

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Setting the Font Size of a Pie Label
 Login/Join
 
Gold member
posted
Can anybody supply a simple pie chart using the CAR file that demonstrates how to set the fontsize of the pie slice label?

I've been reading all the docmentation about setPlace(true);, setO1LabelAutofit(false);, setFontSize(getO1Label(),16); and setFontSizeAbsolute(getO1Label(),true); but I have not been able to change the fontsize of the pie slice labels.

So I suspect that there are other graphic properties that must be set appropirately.

So I think the simplest way to understand how to adjust the fontsize of a pie slice label would be for someone to create a simple and complete example using the CAR file.

I hope someone out there knows how to do this.
 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report This Post
Virtuoso
posted Hide Post
See it this helps...
GRAPH FILE CAR
SUM SALES
ACROSS COUNTRY
ON GRAPH SET LOOKGRAPH PIE
ON GRAPH SET GRAPHEDIT SERVER

ON GRAPH SET VAXIS 480
ON GRAPH SET HAXIS 640
ON GRAPH SET GRAPHSTYLE *

-* The line below controls display of data values for the slices
-* Valid arguments are: 0=No Labels
-* 1=Feeler lines and text
-* 2=Labels only (no feeler lines)
-* 3=Labels on slices
setPieFeelerTextDisplay(1);
-* The line below controls how the slice values are displayed
-* 2=Integer Percent, 3=Percent in Tenths, 4=Percent in Hundredths
-* For a complete list, see the documentation
setTextFormatPreset(getPieSliceLabel(),1);
-* The line below sets the kind of information displayed for each slice
-* Valid arguments are: 0=Absolute true value of slice
-* 1=Percent value of slice
-* 2=Series (Y Axis field name) label
-* 3=Series label and percent value
setPieLabelDisplay(0);

-* The next two lines set the font size and style for the Pie slice labels
setFontSizeVC(getPieSliceLabel(),1500);
setFontStyle(getPieSliceLabel(),2);
setLegendAutomatic(true);
setPlace(false);
ENDSTYLE
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
END


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Gold member
posted Hide Post
That worked!

Thanks for your assistance.
 
Posts: 62 | Location: New York City | Registered: December 29, 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     Setting the Font Size of a Pie Label

Copyright © 1996-2020 Information Builders