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.
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, 2007
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, 2007
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, 2004
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%).
-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