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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
Format of Pie Chart
 Login/Join
 
Platinum Member
posted
I have a pie chart and I'm displaying the text and % on a feeler line.

When the % is displayed it has ( ) around it. This denotes a negative value for us.

Does anyone know how to get rid of the ( )
We are running WF 7.1.3

Here is some car code.

Thanks,

Lenny


DEFINE FILE CAR
BTYPE/A20 = IF BODYTYPE = 'CONVERTIBLE' THEN '2 DOOR CONVERTIBLE'
ELSE IF BODYTYPE = 'COUPE' THEN 'LOW SLUNG COUPE'
ELSE IF BODYTYPE = 'HARDTOP' THEN 'BROKEN DOWN HARDTOP'
ELSE BODYTYPE;
BVAL/D6.1 = IF BODYTYPE = 'CONVERTIBLE' THEN 3
ELSE IF BODYTYPE = 'COUPE' THEN 5
ELSE IF BODYTYPE = 'HARDTOP' THEN 10
ELSE 3.9;
END

GRAPH FILE CAR
SUM BVAL
ACROSS BTYPE

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);
-*setTextFormatPreset(getPieSliceLabel(),6);

setPieFeelerTextFormat(2);

-* 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(3);


-*setLegendAutomatic(true);
setLegendDisplay(false);


setPlace(false);
ENDSTYLE
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
END


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
 
Posts: 104 | Location: Boston | Registered: April 23, 2003Report This Post
Expert
posted Hide Post
Hi Lenny,

I tried the example code a few times, and it looks like that the () cannot be removed when displaying both the slice label and percentage %. To confirm this and/or submit a New Feature Request to be able to remove (), please contact Information Builders' Customer Support Services and open a new case. You may call at 1-800-736-6130, or access the online system InfoResponse.

Just wondering, will it help if the graph can display values? The following topic from Information Builders' online documents may be of interest then:

How to display label, value and percent in a Pie Graph?
http://techsupport.informationbuilders.com/sps/73361032.html

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Platinum Member
posted Hide Post
I think I have a way around the problem.
If I concat the value to the description then I can imbed \n in the string to make it print on 2 lines.

I'm also going to ask IBI to make this a new feature request.

I know IBI is going to show some new graph stuff at Summit. I think I'll bring it up there.

Thanks Kerry,

Lenny


(Production: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
(Test: WebFOCUS 7.1.3 on Win 2K/IIS 6/CGI)
 
Posts: 104 | Location: Boston | Registered: April 23, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders