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] $ sign in a Pie Graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] $ sign in a Pie Graph
 Login/Join
 
Platinum Member
posted
Hi ,
I have a simple pie graph with an $field which is defined as D30M. But when I graph it I cannot get it to display the $ sign for the Pie Label.
I have tried
setTextFormatPreset(getPieSliceLabel(),6);

Anyone has any simple examples or suggestions?

Thanks.

This message has been edited. Last edited by: Kerry,


App Studio Version 8202
windows Platform
SQL Server 2008/2012
 
Posts: 183 | Location: TX | Registered: January 22, 2007Report This Post
Virtuoso
posted Hide Post
That should work - what do you have this set?

setPieFeelerTextDisplay(1);
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Platinum Member
posted Hide Post
here is sample code. Why cannot I get $ sign on the graph?

GRAPH FILE CAR
SUM
DEALER_COST/D30M
BY CAR
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH PIESINGL
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setPieTilt(45);
setPieDepth(60);
restoreAllSlices();
setPieSliceDetach(getSeries(0),30);
setDisplay(getLegendArea(),true);
restoreAllSlices();
setLineWidth(getPieFeelerLine(),1);
setFontSizeAbsolute(getLegendText(), true);
setPieLabelDisplay(5);
setPieFeelerTextDisplay(1);
setPieSliceDetach(getSeries(0),30);
setTextFormatPreset(getPieSliceLabel(),6);
setPieFeelerTextDisplay(1);
ENDSTYLE
END


App Studio Version 8202
windows Platform
SQL Server 2008/2012
 
Posts: 183 | Location: TX | Registered: January 22, 2007Report This Post
Expert
posted Hide Post
I think this is to do with setPieLabelDisplay.

I changed it to 0 and the $ value shows, but doesn't show the %.


This could be a bug in the WebFOCUS graphics.

I would suggest putting in a case with Techsupport.

This message has been edited. Last edited by: Waz,


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
Yes, looks like a Bug in Webfocus. Thanks for your help!.


App Studio Version 8202
windows Platform
SQL Server 2008/2012
 
Posts: 183 | Location: TX | Registered: January 22, 2007Report This Post
Expert
posted Hide Post
No Bug. I just openned that in Graph Assistant and told it to add the currency symbol, like this, Check out the graph.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Platinum Member
posted Hide Post
Yes Doug , but your graph lost the percent too..
See if you can get the $ sign and the pecent value together.


App Studio Version 8202
windows Platform
SQL Server 2008/2012
 
Posts: 183 | Location: TX | Registered: January 22, 2007Report This Post
Expert
posted Hide Post
Hi getit,

If you think this is a bug and you haven't done so, please open a case with Information Builders' Customer Support Services to confirm, and/or submit your request to fix this. You may either call at 1-800-736-6130 or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Guru
posted Hide Post
Does anybody have a workaround for this issue?
The dollar sign gets dropped when you display amounts and percentages on pie slices.
This is what I want $25 (64%).
This is what I get 25 (64%).


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Expert
posted Hide Post
Have you asked techsupport ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
I am facing the same problem. Has anyone found a solution for this?


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 1 | Registered: October 23, 2013Report This Post
<Kathryn Henning>
posted
Hi Stanley,

Please review Advanced Graph Assistant mouse-over doesn't display "$" to see if this applies in your environment.

Thanks and regards,

Kathryn
 
Report This Post
Guru
posted Hide Post
Still not fixed in 8.0.07 Frowner
  
-DEFAULT &LABEL_FORMAT = 5
-PROMPT &LABEL_FORMAT.(<Absolute Value,0>,<Percent Value,1>,<Name,2>,<Name and Percent Value,3>,<Name and Absolute Value,4>,<Value and Percent Value,5>,<Name and Value Percent,6>).Choose Label Format:.;

DEFINE FILE CAR
DEALER_NEW/D20.2CM=DEALER_COST * 10000000;
END
-*IA_GRAPH_BEGIN
-*Do not delete or modify the comments below
*-INTERNAL_COMMENT LINE#0
*-INTERNAL_COMMENT LINE#1
-*Do not delete or modify the comments above
ENGINE INT CACHE SET ON
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.DEALER_NEW
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET AUTOFIT OFF
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT='WebFOCUS Report', $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setTextFormatPreset(getPieSliceLabel(),-1);
setPieLabelDisplay(&LABEL_FORMAT);
setTextFormatPattern(getPieSliceLabel(),"$###,###,###,###.##");
*END
ENDSTYLE
END
-*IA_GRAPH_FINISH


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Member
posted Hide Post
Hi.
Try MATCH * KEYS
ON MATCH UPDATE *

rest seems OK.
Cheers, Dave


Webfocus Release 7.6.11
Unix
EXL2K
 
Posts: 5 | Location: Rhodes | Registered: October 27, 2013Report This Post
Member
posted Hide Post
Sorry this was for a different issue


Webfocus Release 7.6.11
Unix
EXL2K
 
Posts: 5 | Location: Rhodes | Registered: October 27, 2013Report 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] $ sign in a Pie Graph

Copyright © 1996-2020 Information Builders