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.
When I run the below code I'm not getting PIE graph on PDF(but works on html). Ideally it should show 100% graph but it shows only a line without graph. I'm not sure if I'm missing something that to be added.
but when we change the value of '2' in COMPUTE TO 1000 or 0 it shows perfectly but not somewhere close to 99.9999999999999%
TABLE FILE CAR
PRINT
COMPUTE MARKT_VAL1/I10 = IF COUNTRY EQ 'ENGLAND' THEN 56161 ELSE 2;
COUNTRY
WHERE COUNTRY EQ 'ENGLAND' OR 'JAPAN'
ON TABLE HOLD AS H_RET_NOTRET
END
GRAPH FILE H_RET_NOTRET
SUM
MARKT_VAL1 AS ''
BY COUNTRY
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HAXIS 200
ON GRAPH SET VAXIS 150
ON GRAPH SET 3D OFF
ON GRAPH PCHOLD FORMAT PDF
-*ON GRAPH SAVE AS APIE FORMAT SVG
-*ON GRAPH HOLD AS APIE FORMAT SVG
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setFillColor(getLegendArea(),new Color(255,255,255));
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setY1LabelDisplay(true);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(2);
setPieLabelDisplay(1);
setTextFormatPreset(getPieSliceLabel(),2);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(false);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
-*setTitleString("Account Composition\n(&&PIEMON)");
setTextJustHoriz(getTitle(),1);
setFontName(getTitle(),"Arial");
setFontSizeAbsolute(getTitle(),true);
setFontSize(getTitle(),10);
setFontStyle(getTitle(),0);
setTextRotation(getTitle(),0);
setTextWrap(getTitle(),false);
setPlaceResize(getTitle(),0);
setPlaceRotate(getTitle(),0);
setPlaceAlign(getTitle(),0);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setFontName(getPieSliceLabel(),"Arial");
setFontSizeAbsolute(getPieSliceLabel(),true);
setFontSize(getPieSliceLabel(),10);
setFontStyle(getPieSliceLabel(),0);
setTextRotation(getPieSliceLabel(),0);
setTextWrap(getPieSliceLabel(),false);
setPlaceResize(getPieSliceLabel(),0);
setFontName(getLegendText(),"Arial");
setFontSizeAbsolute(getLegendText(),true);
setFontSize(getLegendText(),10);
setFontStyle(getLegendText(),0);
setTextRotation(getLegendText(),0);
setTextWrap(getLegendText(),false);
setPlaceResize(getLegendText(),0);
setPlace(true);
ENDSTYLE
END
This message has been edited. Last edited by: Kerry,
WebFOCUS 8.1.03 Windows, Linux All Outputs
Posts: 46 | Location: India | Registered: August 18, 2011